]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged from the debian-sid branch
[apt.git] / apt-pkg / depcache.cc
index eb3f4e5989f89df99b2126c8f2c2b67cb37bd855..74017cb7fc6d9ed3e1499f955e24cc2b4862d981 100644 (file)
@@ -917,6 +917,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)