From: Michael Vogt Date: Thu, 27 Jun 2013 05:25:53 +0000 (+0200) Subject: show broken count when starting the resolver X-Git-Tag: 0.9.9~9 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/32b5dd08ac22b0ad153b145d1500c66fe4c78f83?ds=sidebyside show broken count when starting the resolver --- diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 6cde4d6cc..b08b8dcfc 100644 --- a/apt-pkg/algorithms.cc +++ b/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