10.04 LTS -> 12.04 upgrade failed: ifupdown depends on upstart and initscripts but they are not configured

Bug #937196 reported by MarcRandolph
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
High
Stéphane Graber
Precise
Confirmed
High
Unassigned
Quantal
Confirmed
High
Stéphane Graber

Bug Description

Attempting to upgrade from Mythbuntu 10.04 to 12.04. Here is the important part of the upgrade log output. Complete logs will be attached, and if more info is needed, please just ask!

dpkg: dependency problems prevent configuration of ifupdown:
 ifupdown depends on upstart-job; however:
  Package upstart-job is not installed.
  Package upstart which provides upstart-job is not configured yet.
 ifupdown depends on initscripts (>= 2.88dsf-13.3); however:
  Package initscripts is not configured yet.
dpkg: error processing ifupdown (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing dpkg (--configure):
 package dpkg is already installed and configured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 ifupdown
 dpkg
Log ended: 2012-02-20 11:43:29

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager 1:0.134.7
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Mon Feb 20 13:43:48 2012
InstallationMedia: Mythbuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager

Revision history for this message
MarcRandolph (mrand) wrote :
tags: added: dist-upgrade lucid2precise
Revision history for this message
MarcRandolph (mrand) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report:

Error from term.log:
dpkg: dependency problems prevent configuration of ifupdown:
 ifupdown depends on upstart-job; however:
  Package upstart-job is not installed.
  Package upstart which provides upstart-job is not configured yet.
 ifupdown depends on initscripts (>= 2.88dsf-13.3); however:
  Package initscripts is not configured yet.
dpkg: error processing ifupdown (--configure):
 dependency problems - leaving unconfigured

affects: update-manager (Ubuntu) → ifupdown (Ubuntu)
Changed in ifupdown (Ubuntu):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Canonical Foundations Team (canonical-foundations)
summary: - 10.04 LTS -> 12.04 upgrade failed due to ifupdown
+ 10.04 LTS -> 12.04 upgrade failed: ifupdown depends on upstart and
+ initscripts but they are not configured
tags: added: rls-mgr-p-tracking
Revision history for this message
Stéphane Graber (stgraber) wrote :

I'll have a look at this, trying to upgrade a minimal 10.04 system to 12.04 and see if I can reproduce.
As far as I can remember, I haven't changed any of the ifupdown dependencies lately so I'm a bit surprised this appears now.

Changed in ifupdown (Ubuntu):
assignee: Canonical Foundations Team (canonical-foundations) → Stéphane Graber (stgraber)
Revision history for this message
Stéphane Graber (stgraber) wrote :

I can't reproduce here, here's the relevant section of the log:
(Reading database ... 92517 files and directories currently installed.)
Preparing to replace initramfs-tools 0.92bubuntu78 (using .../initramfs-tools_0.99ubuntu10_all.deb) ...
Unpacking replacement initramfs-tools ...
dpkg: considering deconfiguration of upstart, which would be broken by installation of friendly-recovery ...
dpkg: yes, will deconfigure upstart (broken by friendly-recovery).
Preparing to replace friendly-recovery 0.2.10 (using .../friendly-recovery_0.2.24_all.deb) ...
De-configuring upstart ...
Unpacking replacement friendly-recovery ...
Preparing to replace upstart 0.6.5-6 (using .../upstart_1.4-0ubuntu8_i386.deb) ...
Unpacking replacement upstart ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libnih1 (1.0.3-4ubuntu9) ...

Setting up libnih-dbus1 (1.0.3-4ubuntu9) ...

Setting up insserv (1.14.0-2.1ubuntu1) ...
Installing new version of config file /etc/insserv.conf ...
Setting up sysv-rc (2.88dsf-13.10ubuntu10) ...

dpkg: dependency problems prevent configuration of ifupdown:
 ifupdown depends on upstart-job; however:
  Package upstart-job is not installed.
  Package upstart which provides upstart-job is not configured yet.
 ifupdown depends on initscripts (>= 2.88dsf-13.3); however:
  Package initscripts is not configured yet.
dpkg: error processing ifupdown (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing dpkg (--configure):
 package dpkg is already installed and configured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 ifupdown
 dpkg

Revision history for this message
Stéphane Graber (stgraber) wrote :
Download full text (3.7 KiB)

Upgrading on my system, I see a similar sequence:
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M
Preparing to replace module-init-tools 3.11.1-2ubuntu1 (using .../module-init-tools_3.16-1ubuntu2_amd64.deb) ...^M
Unpacking replacement module-init-tools ...^M
Preparing to replace initramfs-tools 0.92bubuntu78 (using .../initramfs-tools_0.99ubuntu10_all.deb) ...^M
Unpacking replacement initramfs-tools ...^M
dpkg: considering deconfiguration of upstart, which would be broken by installation of friendly-recovery ...^M
dpkg: yes, will deconfigure upstart (broken by friendly-recovery).^M
Preparing to replace friendly-recovery 0.2.10 (using .../friendly-recovery_0.2.24_all.deb) ...^M
De-configuring upstart ...^M
Unpacking replacement friendly-recovery ...^M
Preparing to replace upstart 0.6.5-8 (using .../upstart_1.4-0ubuntu8_amd64.deb) ...^M
Unpacking replacement upstart ...^M
Processing triggers for ureadahead ...^M
Processing triggers for man-db ...^M
Setting up libnih1 (1.0.3-4ubuntu9) ...^M
Setting up libnih-dbus1 (1.0.3-4ubuntu9) ...^M
Setting up libudev0 (175-0ubuntu5) ...^M
Processing triggers for libc-bin ...^M
ldconfig deferred processing now taking place^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M
Preparing to replace ifupdown 0.6.8ubuntu29.2 (using .../ifupdown_0.7~beta2ubuntu6_amd64.deb) ...^M
Transitioning /etc/network/if-up.d/upstart to be a conffile ...^M
Transitioning /etc/init/network-interface.conf to be a conffile ...^M
Transitioning /etc/init/networking.conf to be a conffile ...^M
Transitioning /etc/init/network-interface-security.conf to be a conffile ...^M
Unpacking replacement ifupdown ...^M
Preparing to replace initscripts 2.87dsf-4ubuntu17.5 (using .../initscripts_2.88dsf-13.10ubuntu10_amd64.deb) ...^M
Removing unmodified and obsolete conffile /etc/default/tmpfs ...^M
Unpacking replacement initscripts ...^M
Preparing to replace mountall 2.15.3 (using .../mountall_2.34_amd64.deb) ...^M
Moving obsolete conffile /etc/init/mounted-varrun.conf out of the way...^M
Unpacking replacement mountall ...^M
Processing triggers for ureadahead ...^M
Processing triggers for man-db ...^M
Setting up initramfs-tools-bin (0.99ubuntu10) ...^M
Setting up upstart (1.4-0ubuntu8) ...^M
Installing new version of config file /etc/init/tty3.conf ...^M
Installing new version of config file /etc/init/tty6.conf ...^M
Installing new version of config file /etc/init/tty1.conf ...^M
Installing new version of config file /etc/init/rc-sysinit.conf ...^M
Installing new version of config file /etc/init/rc.conf ...^M
Installing new version of config file /etc/init/rcS.conf ...^M
Installing new version of config file /etc/init/tty2.conf ...^M
Installing new version of config file /etc/init/tty4.conf ...^M
Installing new version of config file /etc/init/tty5.conf ...^M
Installing ne...

Read more...

Revision history for this message
Stéphane Graber (stgraber) wrote :

Subscribing Michael Vogt as I don't have a clear idea of what's happening there (especially as all the other lts-to-lts upgrade tests seem to work fine).

Revision history for this message
Stéphane Graber (stgraber) wrote :

Oh, worth noting that I'm running the same apt and update-manager as the reporter (looking at main.log) and that's the latest backported one available in Lucid.

Revision history for this message
Steve Langasek (vorlon) wrote :

I don't know why this is not reproducible, but I certainly see a circular relationship that can be contributing to it

  Package: upstart
  Depends: ifupdown (>= 0.6.10ubuntu5) # newer than lucid

  Package: ifupdown
  Depends: upstart-job

  Package: friendly-recovery
  Breaks: upstart (<< 1.3-0ubuntu9)
  Depends: upstart-job, upstart, whiptail

Not sure we can remove the circular dep though, so maybe this just needs to be addressed as an apt ordering bug. The log shows the upgrade being done with update-manager; does that already have the backport of the GSoC ordering fixes?

Revision history for this message
Stéphane Graber (stgraber) wrote :

2012-02-20 09:17:27,749 INFO apt version: '0.8.16~exp12ubuntu1~upgrader1'
2012-02-20 09:17:27,749 INFO release-upgrader version '0.156.5' started

Not sure if that version has all the fixes.

Revision history for this message
MarcRandolph (mrand) wrote :

When I got this to happen, I did a fresh Mythbuntu 10.04.1 install and did not do the megaload of updates before issuing "do-release-upgrade -d"

Revision history for this message
Steve Langasek (vorlon) wrote :

chances are this will not be reproducible with the newest release-upgrader apt that's landed in lucid. Leaving it open in case anyone else runs into it, but marking incomplete.

Changed in ifupdown (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
PeterPall (peterpall) wrote :

Did update from oneiric. But go the same error.

Revision history for this message
S.Toonen (s-toonen) wrote :

Just tried an update from Ubuntu server 10.04 to 12.04 using the "sudo do-release-upgrade -d" command. Got the same error. As a result the installation did not succeed.

Revision history for this message
MarcRandolph (mrand) wrote :

Changing back to confirmed for the following reasons:

1) people are still seeing it (and not just on 10.04, apparently)
2) people might not update their 10.04 install before doing the upgrade

Changed in ifupdown (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
S.Toonen (s-toonen) wrote :

For the record, I did an apt-get update && apt-get upgrade before the release upgrade.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
Steve Langasek (vorlon) wrote :

We believe this to be a bug in the package manager, rather than in ifupdown. The circular dependency between ifupdown/upstart/initscripts is not ideal, but the package manager is supposed to be able to handle this.

affects: ifupdown (Ubuntu Precise) → apt (Ubuntu Precise)
Changed in apt (Ubuntu Precise):
importance: Undecided → High
status: New → Confirmed
Changed in apt (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

this is probably the same bug as bug #1017001.

Revision history for this message
Brian Murray (brian-murray) wrote :

Attached is apt clone data from duplicate bug 989436.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.