]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merged (and resolved a bunch of conflicts) of the debian-sid branch
[apt.git] / apt-pkg / depcache.cc
index 2656e9b42e745f3ca5a8b3fa982aee5ccce4f93f..56194e244f053e63cfe3867b662175a0748b459c 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];
    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)
       if (P.InstallVer != 0 && P.Status == 2 && (P.Flags & Flag::Auto) != Flag::Auto)
       {
         if (DebugMarker == true)