summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-10-21 13:28:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-10-21 13:28:10 +0200
commitf4945db34053338ceb832afa1ca51e2aab7edaa0 (patch)
treea262f7a815f2fa7d42b745ea49472c3aea99ce0c
parent364af2ef2aba2911b12379ec8b6e55874e4b0a31 (diff)
* apt-pkg/packagemanager.cc:
- add output about pre-depends configuring when debug::pkgPackageManager is used
-rw-r--r--apt-pkg/packagemanager.cc7
-rw-r--r--debian/changelog3
2 files changed, 10 insertions, 0 deletions
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<Version *> 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: