10.04 -> 12.04 upgrade should remove live-initramfs

Bug #1034794 reported by Reinhard Tartler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Using the do-release-upgrade tool, I noticed the following upgrade failure:

Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.39-2-686-pae
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.39-2-686-pae with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools

The cause is a hook that the package live-initramfs (it was in lucid, but it is no longer included in precise) has installed. Removing the package did allow the upgrade to succeed.

I think this is something that the upgrade tool should do by itself.

Changed in update-manager (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Steve Langasek (vorlon)
Changed in update-manager (Ubuntu):
importance: Undecided → Low
assignee: Canonical Foundations Team (canonical-foundations) → nobody
Revision history for this message
Adam Conrad (adconrad) wrote :

Do we really want "removing random universe packages that are slightly broken and never installed by default" logic in the upgrader?

Revision history for this message
Adam Conrad (adconrad) wrote :

(And, given that this is a fork of casper, one would assume it should never be installed on a system at all, in that it should be removed by one's live installer, just like casper is.. If not, that's a bug in the installer that was using it which, again, isn't an Ubuntu installer)

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 1034794] Re: 10.04 -> 12.04 upgrade should remove live-initramfs

On Do, Aug 09, 2012 at 20:11:39 (CEST), Adam Conrad wrote:

> Do we really want "removing random universe packages that are slightly
> broken and never installed by default" logic in the upgrader?

I thought that this was one of the points of a dedicated upgrade tool
over just editing /etc/apt/sources.list and apt-get. Only this week, I
let a collegue upgraded such a machine this week, and the upgrade
process broke because of this, resulting in a very poor experience for
ubuntu upgrades.

Is this issue particulary difficult to implement? I'd imagine it would
be just addind another item in some list.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

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