Browse Source

show broken count when starting the resolver

Michael Vogt 13 years ago
parent
commit
32b5dd08ac
1 changed files with 6 additions and 2 deletions
  1. 6 2
      apt-pkg/algorithms.cc

+ 6 - 2
apt-pkg/algorithms.cc

@@ -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