rem: return aptitude_resolver_version(pkg, (*cache)[pkg].InstVerIter(*cache), cache);
add: if((*cache)[pkg].Keep() && pkg->CurrentState == pkgCache::State::ConfigFiles) return aptitude_resolver_version(pkg, pkgCache::VerIterator(*cache, 0), cache); else return aptitude_resolver_version(pkg, (*cache)[pkg].InstVerIter(*cache), cache);
context: inline aptitude_resolver_version aptitude_resolver_package::current_version() const{  return aptitude_resolver_version(pkg, (*cache)[pkg].InstVerIter(*cache),				   cache);}