]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged from lp:~mvo/apt/mvo (that has all the changes from debian-experimental2)...
[apt.git] / apt-pkg / depcache.cc
index 529e9240dd5f566f2e741274b6e7ed85d83b12b9..456e4b01241b2a3cc7cdab685d54b7fcf085baae 100644 (file)
@@ -872,6 +872,7 @@ bool pkgDepCache::IsDeleteOk(PkgIterator const &Pkg,bool rPurge,
    if (FromUser == false && Pkg->CurrentVer == 0)
    {
       StateCache &P = PkgState[Pkg->ID];
+      // Status == 2 means this applies for new installs only
       if (P.InstallVer != 0 && P.Status == 2 && (P.Flags & Flag::Auto) != Flag::Auto)
       {
         if (DebugMarker == true)