From: David Kalnischkies Date: Sat, 3 Mar 2012 09:08:19 +0000 (+0100) Subject: show in the debug output if we are looping in the avoid breaks X-Git-Tag: 0.9.0~13^2~19 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/2264548ff25c3e7f8b6df22fdd59a95b11ad1462 show in the debug output if we are looping in the avoid breaks --- diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 42473341c..2738a8a6b 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -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);