]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged from debian-experimental2
[apt.git] / apt-pkg / depcache.cc
index ee93150695e55d9f1d1075878d3c9f8df5d611d4..9123b1c12024f8362ce2046bf60478cfcf53f802 100644 (file)
@@ -867,6 +867,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)