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)
---

** Changed in: apt (Ubuntu)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1347721

Title:
  Saucy -> Trusty upgrade failed: procps fails to configure

Status in “apt” package in Ubuntu:
  In Progress

Bug description:
  Test Case:
  1. Install Saucy + the task ubuntu-dekstop^
  2. Upgrade with do-release-upgrade

  Result:
  Upgrade fails with:
  Setting up libprocps3:i386 (1:3.3.9-1ubuntu2) ...
  dpkg: dependency problems prevent configuration of procps:
   procps depends on initscripts; however:
    Package initscripts is not configured yet.

  dpkg: error processing package procps (--configure):
   dependency problems - leaving unconfigured

  == Original Description ==
  I'm just performing 14.04.1 pre-release testing and decided to try a Saucy -> 
Trusty upgrade even though Saucy recently reached EOL. I'd expected to be told 
no upgrade was available (or was impossible) early in the process if it were 
not possible at this point in time but the upgrade appeared to be in progress 
until the attached warning appeared (I'd guess about half-way into the upgrade 
process based on lapsed time) .

  No idea what will happen on reboot so I wanted to file this prior to
  reboot. I'll follow up later.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.2
  ProcVersionSignature: Ubuntu 3.11.0-26.45-generic 3.11.10.12
  Uname: Linux 3.11.0-26-generic i686
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: i386
  CrashDB: ubuntu
  CurrentDesktop: GNOME
  Date: Wed Jul 23 09:03:39 2014
  InstallationDate: Installed on 2014-07-17 (5 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release i386 
(20131015)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to trusty on 2014-07-23 (0 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1347721/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to