+ // Check if this package is being re-installed
+ if ((Cache[Pkg].iFlags & pkgDepCache::ReInstall) == pkgDepCache::ReInstall && Cache[Pkg].InstallVer != *I &&
+ List->IsNow(Pkg) == true && Pkg.State() == PkgIterator::NeedsNothing) {
+ Bad = false;
+ continue;
+ }
+