]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.cc
show in the debug output if we are looping in the avoid breaks
[apt.git] / apt-pkg / packagemanager.cc
index 42473341c4e78d4e5d7a876f668dc6f11208cffa..2738a8a6b7479c4a293aea28b277a1f1d0455385 100644 (file)
@@ -698,7 +698,12 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
                  // Found a break, so unpack the package,
                  // but do not set loop if another SmartUnPack already deals with it
                  if (Debug)
-                    cout << OutputInDepth(Depth) << "  Unpacking " << BrokenPkg.Name() << " to avoid " << End << endl;
+                 {
+                    cout << OutputInDepth(Depth) << "  Unpacking " << BrokenPkg.Name() << " to avoid " << End;
+                    if (PkgLoop == true)
+                       cout << " (Looping)";
+                    cout << std::endl;
+                 }
                  if (PkgLoop == false)
                     List->Flag(Pkg,pkgOrderList::Loop);
                  SmartUnPack(BrokenPkg, false, Depth + 1);