summaryrefslogtreecommitdiff
path: root/apt-pkg/packagemanager.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-03-03 10:08:19 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-03-03 10:08:19 +0100
commit2264548ff25c3e7f8b6df22fdd59a95b11ad1462 (patch)
tree342824990960a9b90f6a3b67d0c0723e736f8a66 /apt-pkg/packagemanager.cc
parent6b92f60c38c2d50040bc3f07d52e8da80ef23bff (diff)
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.cc7
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);