* apt-pkg/packagemanager.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 21 Oct 2009 11:28:10 +0000 (13:28 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 21 Oct 2009 11:28:10 +0000 (13:28 +0200)
  - add output about pre-depends configuring when debug::pkgPackageManager
    is used

apt-pkg/packagemanager.cc
debian/changelog

index cc9ce21..a063e1a 100644 (file)
@@ -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);
         }
 
index 16e8929..618e855 100644 (file)
@@ -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: