]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged from debian-experimental
[apt.git] / apt-pkg / depcache.cc
index 031fca5c0dda3930100d8f5d6706e709f552d41b..0dbedf32341429baf516faee355ca8066495ed79 100644 (file)
@@ -874,6 +874,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)