]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
always cleanup patchfiles at the end of rred call
[apt.git] / apt-pkg / depcache.cc
index 7e75a6fe34b2d6d9252fdf8ed7d3104eda498c55..c39e8c628a7b8fbb012fa61d02872ce63b6534cf 100644 (file)
@@ -1258,6 +1258,11 @@ bool pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst,
            if (PkgState[Pkg->ID].InstallVer == 0)
               continue;
 
+            /* Ignore negative dependencies that we are not going to 
+               get installed */
+            if (PkgState[Pkg->ID].InstallVer != *I)
+               continue;
+
            if ((Start->Version != 0 || TrgPkg != Pkg) &&
                PkgState[Pkg->ID].CandidateVer != PkgState[Pkg->ID].InstallVer &&
                PkgState[Pkg->ID].CandidateVer != *I &&