diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-03 10:08:19 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-03 10:08:19 +0100 |
commit | 2264548ff25c3e7f8b6df22fdd59a95b11ad1462 (patch) | |
tree | 342824990960a9b90f6a3b67d0c0723e736f8a66 /apt-pkg/packagemanager.cc | |
parent | 6b92f60c38c2d50040bc3f07d52e8da80ef23bff (diff) | |
download | apt-2264548ff25c3e7f8b6df22fdd59a95b11ad1462.tar.gz |
show in the debug output if we are looping in the avoid breaks
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 7 |
1 files changed, 6 insertions, 1 deletions
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); |