]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
* merged from the debian-sid bzr branch
[apt.git] / apt-pkg / depcache.cc
index bef9775329f373ca05766c546e8018a8d0b3af81..09a2cac2dbe448e4823e7ac8f50e0122d875d10d 100644 (file)
@@ -927,6 +927,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)