update-initramfs: deferring update (trigger activated) / cp: cannot stat `/vmlinuz': No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
High
|
Evan | ||
Lucid |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Evan | ||
usb-creator (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Invalid
|
High
|
Unassigned |
Bug Description
Stable update justification:
Impact: USB stick upgrades fail with obscure errors when upgrading the kernel. This results in very large numbers of duplicate bug reports.
Development branch: Fixed in casper 1.253/1.254 by making the writable-USB-stick update-initramfs shim more robust against the bits it's copying not existing for various reasons, and making it be a separate executable which can be upgraded in ways that don't involve regenerating the USB stick.
Patch:
http://
http://
TEST CASE: Create an Ubuntu USB stick, making sure that you do *not* drag the "Stored in reserved extra space" slider all the way to the right in usb-creator (see bug 562312), and run 'sudo update-initramfs -u'. 10.04.1 and 10.10 as released should fail. A lucid daily build dating from after this SRU is accepted should succeed (we're unlikely to do more daily builds of maverick). Also, if you start from 10.04.1 or 10.10 as released, upgrade the casper package to the current version in lucid-proposed or maverick-proposed after this SRU is accepted, and then run 'sudo update-initramfs -u', that should succeed.
Regression potential: I don't think update-initramfs will fail in any more situations due to this change. Possible sources of regression are problems upgrading the casper package, and testers should also make sure that the upgraded image actually still boots following this change.
Please note the similar bug 591207, which we're fixing along with this bug, and the related bug 591202 in grub2, which you may run into along the way.
Original bug report:
== description ==
update-initramfs failed on liveUSB because /vmlinux symlink doesn't exists
some users reported to have build the installation media with Universal-
== workaround ==
create /vmlinuz symbolic link to point to /cdrom/
$ ln -s /cdrom/
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bcmwl-kernel-source 5.60.48.
ProcVersionSign
Uname: Linux 2.6.32-19-generic i686
NonfreeKernelMo
AptOrdering:
initramfs-tools: Configure
bcmwl-
Architecture: i386
Date: Tue Apr 6 23:52:35 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
SourcePackage: bcmwl
Title: package bcmwl-kernel-source 5.60.48.
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in casper (Ubuntu): | |
importance: | Medium → High |
description: | updated |
Changed in usb-creator (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in casper (Ubuntu Natty): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in casper (Ubuntu Natty): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Evan Dandrea (ev) |
Changed in usb-creator (Ubuntu Natty): | |
status: | Triaged → Invalid |
Changed in casper (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in casper (Ubuntu Maverick): | |
status: | New → Triaged |
Changed in casper (Ubuntu Lucid): | |
importance: | Undecided → High |
Changed in casper (Ubuntu Maverick): | |
importance: | Undecided → High |
Changed in casper (Ubuntu Lucid): | |
milestone: | none → ubuntu-10.04.2 |
Changed in usb-creator (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in usb-creator (Ubuntu Maverick): | |
status: | New → Invalid |
description: | updated |
tags: | added: verification-done |
Thanks for your report
The relevant error is
---
Setting up initramfs-tools (0.92bubuntu71) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Affecting to initramfs-tools