update-initramfs fails due to loss of /lib/udev/firmware.sh during update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
Serious problem during apt-get dist-upgrade after apt-get update:
The file /lib/udev/
This happened on 2 systems this morning (see below about that).
Is this bug in initramfs-tools, possibly?
About 10 am PST on 2010-02-10
last few lines of screen output from 'apt-get dist-upgrade'
Setting up libmono-
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cpio: ./lib/udev/
update-initramfs: failed for /boot/initrd.
dpkg: subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (2)
And then ...
# apt-get dist-upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
So then I try dpkg:
# dpkg --configure -a
Setting up initramfs-tools (0.92bubuntu64) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cpio: ./lib/udev/
update-initramfs: failed for /boot/initrd.
dpkg: subprocess installed post-installation script returned error exit status 1
root@lightning:~#
The locate command thinks that the script is still there:
# locate firmware.sh
/lib/udev/
But it isn't:
# ls /lib/udev | grep firmware
firmware
This has happened on two systems this morning. It made it really impossible to update the system! Fortunately, since I have two systems, it was possible to copy the script from the other system, and to continue the update.
After copying the file, I could complete the installation:
dpkg --configure -a
root@lightning:
dpkg --configure -a
Setting up initramfs-tools (0.92bubuntu64) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
root@lightning:
#ls -l /boot | grep initrd
-rw-r--r-- 1 root root 7573322 2010-02-10 10:38 /boot/initrd.
ProblemType: Bug
Architecture: i386
Date: Wed Feb 10 10:51:24 2010
DistroRelease: Ubuntu 10.04
Package: initramfs-tools 0.92bubuntu64
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: initramfs-tools
Uname: Linux 2.6.32-12-generic i686
Changed in initramfs-tools (Ubuntu): | |
assignee: | nobody → Kernel Bugs (kernel-bugs) |
Changed in initramfs-tools (Ubuntu): | |
assignee: | Registry Administrators (registry) → nobody |
I am also attaching a copy of the missing script /lib/udev/ firmware. sh - from the previous upgrade, copied from another system.