]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged from donkult
[apt.git] / apt-pkg / depcache.cc
index 0851597111cff81a8cb7ba9ee59075a26d53c162..7aaf1c61bbbdb61f86ab000234c7f9caa60bd004 100644 (file)
@@ -871,6 +871,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)