show broken count when starting the resolver
authorMichael Vogt <mvo@debian.org>
Thu, 27 Jun 2013 05:25:53 +0000 (07:25 +0200)
committerMichael Vogt <mvo@debian.org>
Thu, 27 Jun 2013 05:25:53 +0000 (07:25 +0200)
apt-pkg/algorithms.cc

index 6cde4d6..b08b8dc 100644 (file)
@@ -845,8 +845,10 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
    }
    while (Again == true);
 
-   if (Debug == true)
+   if (Debug == true) {
       clog << "Starting" << endl;
+      clog << " Broken count: " << Cache.BrokenCount() << endl;
+   }
    
    MakeScores();
 
@@ -874,8 +876,10 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
          }
    }
 
-   if (Debug == true)
+   if (Debug == true) {
       clog << "Starting 2" << endl;
+      clog << " Broken count: " << Cache.BrokenCount() << endl;
+   }
 
    /* Now consider all broken packages. For each broken package we either
       remove the package or fix it's problem. We do this once, it should