dpkg --configure a fails during upgrade

Bug #519914 reported by Christian Victor
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

console output:
$ sudo dpkg --configure -a
[sudo] password for ****:
Richte initramfs-tools ein (0.92bubuntu64) ...
update-initramfs: deferring update (trigger activated)

Verarbeite Trigger für initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-12-generic
cpio: ./lib/udev/firmware.sh: Funktion stat fehlgeschlagen: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.32-12-generic
dpkg: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

----------------------------------
$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04

ProblemType: Bug
Architecture: i386
CheckboxSubmission: a887682bb2266f6052f7e43506aba844
CheckboxSystem: 0531969bcfd4f03af7405c98dc94a948
Date: Wed Feb 10 17:04:12 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
NonfreeKernelModules: nvidia
Package: initramfs-tools 0.92bubuntu64
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.17-generic
SourcePackage: initramfs-tools
Uname: Linux 2.6.32-12-generic i686

Revision history for this message
Christian Victor (post-kerm-it-deactivatedaccount) wrote :
Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Same problem here:

root@vega:~# 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.img-2.6.32-12-generic
cpio: ./lib/udev/firmware.sh: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.32-12-generic
dpkg: subprocess installed post-installation script returned error exit status 1
root@vega:~# uname -a
Linux vega 2.6.32-12-generic #16-Ubuntu SMP Wed Jan 27 18:34:19 UTC 2010 i686 GNU/Linux

Revision history for this message
Christian Mangold (neversfelde) wrote :

I can confirm this problem.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Boerny (b-stader) wrote :

found a workaround in http://www.ubuntu-forum.de/index.php?page=Thread&postID=290720&s=559a0e88eb2d990110debf1b702d3b44b131aac3#post290720 (german)

edit file /usr/share/initramfs-tools/hooks/udev ( sudo kate /usr/share/initramfs-tools/hooks/udev )
and delete ".sh" from line
# 50-firmware.rules
copy_exec /lib/udev/firmware.sh /lib/udev

-> line is
# 50-firmware.rules
copy_exec /lib/udev/firmware /lib/udev

save file and run
sudo dpkg --configure -a

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Thanks for reporting this bug. It appears to be a duplicate of bug #519855, which has a patch available. If I'm mistaken, please feel free to remove the duplicate status from this report.

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.