Просмотр исходного кода

show broken count when starting the resolver

Michael Vogt лет назад: 13
Родитель
Сommit
32b5dd08ac
1 измененных файлов с 6 добавлено и 2 удалено
  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);
    while (Again == true);
 
 
-   if (Debug == true)
+   if (Debug == true) {
       clog << "Starting" << endl;
       clog << "Starting" << endl;
+      clog << " Broken count: " << Cache.BrokenCount() << endl;
+   }
    
    
    MakeScores();
    MakeScores();
 
 
@@ -874,8 +876,10 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
          }
          }
    }
    }
 
 
-   if (Debug == true)
+   if (Debug == true) {
       clog << "Starting 2" << endl;
       clog << "Starting 2" << endl;
+      clog << " Broken count: " << Cache.BrokenCount() << endl;
+   }
 
 
    /* Now consider all broken packages. For each broken package we either
    /* 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
       remove the package or fix it's problem. We do this once, it should