Comment 15 for bug 1347721

Revision history for this message
Michael Vogt (mvo) wrote :

This diff works for me:

diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index 393f836..57d4b5a 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -406,6 +406,12 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg, int
               if (Cache[DepPkg].InstallVer != *I || List->IsNow(DepPkg) == fals
                  continue;

+ // only packages that are in the unpacked state may need
+ // configure so ignore anything that is not currently
+ // unpacked
+ if (List->IsFlag(DepPkg,pkgOrderList::UnPacked) == false)
+ continue;
+
               if (PkgLoop == true)
               {
                  if (Debug)
---