failed upgrade from 10.04.4 to 12.04

Bug #1002815 reported by David Raulo
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I just ran 'do-release-upgrade -m server -d' on an up-to-date lucid server. This failed with the following error:

Exception during pm.DoInstall(): E:Could not perform immediate configuration on 'python2.7-minimal'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Tags: dist-upgrade
Revision history for this message
David Raulo (david-raulo) wrote :
tags: added: dist-upgrade
Revision history for this message
David Raulo (david-raulo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
ogenex (ogenex) wrote :
Revision history for this message
ogenex (ogenex) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

@ogenex, could you please file another report as your issue is different and attach the content of /var/log/dist-upgrade. Thanks.

Revision history for this message
ogenex (ogenex) wrote : Re: [Bug 1002815] Re: failed upgrade from 10.04.4 to 12.04

Thank you kindly Jean-Baptise, I will do.

Best wishes,
Stephen.

On Tue, Aug 28, 2012 at 4:56 PM, Jean-Baptiste Lallement
<email address hidden> wrote:
> @ogenex, could you please file another report as your issue is different
> and attach the content of /var/log/dist-upgrade. Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1002815
>
> Title:
> failed upgrade from 10.04.4 to 12.04
>
> Status in “update-manager” package in Ubuntu:
> Confirmed
>
> Bug description:
> Hi,
>
> I just ran 'do-release-upgrade -m server -d' on an up-to-date lucid
> server. This failed with the following error:
>
> Exception during pm.DoInstall(): E:Could not perform immediate
> configuration on 'python2.7-minimal'.Please see man 5 apt.conf under
> APT::Immediate-Configure for details. (2)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1002815/+subscriptions

Revision history for this message
Loïc Minier (lool) wrote :

I've got a similar failure with "do-release-upgrade" on an up-to-date 10.04 install trying to upgrade to precise; looking at /var/log/dist-upgrade/20121227-1750/main_pre_req.log I see:
[...]
2012-12-27 17:50:05,220 DEBUG adding 'deb http://archive.ubuntu.com/ubuntu/ lucid-updates main
' prerequists
2012-12-27 17:50:05,220 DEBUG running doUpdate() (showErrors=False)
2012-12-27 17:50:05,423 DEBUG openCache()
2012-12-27 17:50:07,065 DEBUG /openCache(), new cache size 39742
2012-12-27 17:50:07,069 DEBUG marking 'libapt-pkg4.12' for install
2012-12-27 17:50:07,082 DEBUG marking 'libapt-inst1.4' for install
2012-12-27 17:50:07,094 DEBUG marking 'release-upgrader-python-apt' for install
2012-12-27 17:50:07,105 INFO cache.commit()
2012-12-27 17:50:07,105 DEBUG failed to SystemUnLock() (E:Not locked)
2012-12-27 17:50:07,113 ERROR Exception during pm.DoInstall()
Traceback (most recent call last):
  File "/tmp/tmpi9IMqo/DistUpgradeView.py", line 203, in run
    res = pm.do_install(self.writefd)
SystemError: E:Couldn't configure pre-depend multiarch-support for libapt-pkg4.12, probably a dependency cycle.
2012-12-27 17:50:07,213 ERROR installArchives returned 'installArchives() failed'
2012-12-27 17:50:07,213 WARNING _fetchArchives for backports returned False

Revision history for this message
Loïc Minier (lool) wrote :

I ran "apt-get install libapt-pkg4.12" manually, that pulled a bunch of other updates including multiarch-support, then ran do-release-upgrade again; I've got scary warnings and had to "apt-get -f install", "apt-get upgrade" and "apt-get dist-upgrade" but eventially completed the upgrade after multiple trials.

At some point I was stuck upgrading to python 2.7, apt-get install python2.7-minimal said:
The following packages have unmet dependencies:
  python-apt: Recommends: xz-lzma but it is not going to be installed
              Breaks: apt-listchanges (< 2.85) but 2.84 is to be installed
so I passed -o APT::Immediate-Configure=0 to apt-get dist-upgrade and it passed. Obviously this is a dangerous workaround as it delays configuration of essential packages.

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.