]> git.saurik.com Git - apt.git/commitdiff
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 6cde4d6cc1ddcc5a8ae0da730db74f270c513789..b08b8dcfc8d8c34488c9b57f62848938667c5f75 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