[Bug 1062699] Re: package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 [/dev/disk/by-uuid: Is a directory , mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry]
Gelu N.
gelu at ilinc.ro
Mon Oct 8 11:18:43 UTC 2012
That occur during an installation/uninstallation of an any package.
:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct 6 16:16 b887034b-acfb-489a-b6b6-4733a0bf5602 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Oct 6 16:14 c1351f6b-075e-4f8f-b977-28914b25cdc2 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 6 16:14 c5ac72d0-a336-4ce2-9712-d8bbea0cdc8c -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 6 16:14 dc2980a6-b18a-4855-99cc-4a28f459f1e8 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 6 16:14 e13006bb-5c76-4dea-90fe-feb326c08490 -> ../../sdb2
:~$ ls -ld /dev/disk/by-uuid*
drwxr-xr-x 2 root root 140 Oct 6 16:22 /dev/disk/by-uuid
sda1 is / in my system
sdb1 is swap
sdb2 is /home
lilo is installed on sda (but lilo is not the problem, with grub and lilo purged is the same error)
sdb is IBM ServeRAID M5014
sda2 unused partition
sdc is an external usb hard disk
On ubuntu 11.10 this error never existed. This error occurred when
upgraded first time the kernel on ubuntu 12.04. Since then appears each
time I use apt-get or synaptic (sorry for my bad english).
G.N.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1062699
Title:
package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to
install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
exited with return code 1 [/dev/disk/by-uuid: Is a directory ,
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid
/sys/block/ entry]
Status in “initramfs-tools” package in Ubuntu:
Incomplete
Bug description:
Selecting previously unselected package linux-image-3.2.0-31-generic.
(Reading database ... 275104 files and directories currently installed.)
Unpacking linux-image-3.2.0-31-generic (from .../linux-image-3.2.0-31-generic_3.2.0-31.50_amd64.deb) ...
Done.
Selecting previously unselected package linux-image-generic.
Unpacking linux-image-generic (from .../linux-image-generic_3.2.0.31.34_amd64.deb) ...
Selecting previously unselected package linux-image.
Unpacking linux-image (from .../linux-image_3.2.0.31.34_amd64.deb) ...
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.2.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-31-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.2.0-31-generic; however:
Package linux-image-3.2.0-31-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
linux-image depends on linux-image-generic (= 3.2.0.31.34); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-3.2.0-31-generic
linux-image-generic
linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.2.0-31-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-3.2.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-31-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-31-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.2.0-31-generic; however:
Package linux-image-3.2.0-31-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
linux-image depends on linux-image-generic (= 3.2.0.31.34); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.2.0-31-generic
linux-image-generic
linux-image
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-31-generic 3.2.0-31.50
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelModules: btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs reiserfs ext2 tcp_diag inet_diag xt_multiport iptable_filter nls_utf8 udf crc_itu_t ses enclosure usb_storage pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv rfcomm bnep bluetooth parport_pc ppdev binfmt_misc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables joydev usbhid cdc_ether usbnet hid uas i7core_edac edac_core bnx2 ioatdma dca serio_raw shpchp tpm_tis megaraid_sas mac_hid lp parport
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Sat Oct 6 09:10:36 2012
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: initramfs-tools
Title: package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: Upgraded to precise on 2012-04-30 (158 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1062699/+subscriptions
More information about the foundations-bugs
mailing list