From f4945db34053338ceb832afa1ca51e2aab7edaa0 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 21 Oct 2009 13:28:10 +0200 Subject: [PATCH] * apt-pkg/packagemanager.cc: - add output about pre-depends configuring when debug::pkgPackageManager is used --- apt-pkg/packagemanager.cc | 7 +++++++ debian/changelog | 3 +++ 2 files changed, 10 insertions(+) diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index cc9ce21c7..a063e1a34 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -477,6 +477,9 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg) while (End->Type == pkgCache::Dep::PreDepends) { + if (Debug == true) + clog << "PreDepends order for " << Pkg.Name() << std::endl; + // Look for possible ok targets. SPtrArray VList = Start.AllTargets(); bool Bad = true; @@ -490,6 +493,8 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg) Pkg.State() == PkgIterator::NeedsNothing) { Bad = false; + if (Debug == true) + clog << "Found ok package " << Pkg.Name() << endl; continue; } } @@ -505,6 +510,8 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg) (Cache[Pkg].Keep() == true && Pkg.State() == PkgIterator::NeedsNothing)) continue; + if (Debug == true) + clog << "Trying to SmartConfigure " << Pkg.Name() << endl; Bad = !SmartConfigure(Pkg); } diff --git a/debian/changelog b/debian/changelog index 16e8929ad..618e855ee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ apt (0.7.22.4) unstable; urgency=low (thanks to Simon Richter, closes: #509866) * apt-inst/contrib/arfile.cc: - show propper error message for Invalid archive members + * apt-pkg/packagemanager.cc: + - add output about pre-depends configuring when debug::pkgPackageManager + is used [ Loïc Minier ] * cmdline/apt-key: -- 2.47.2