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]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Selecting previously unselected package linux-image-
(Reading database ... 275104 files and directories currently installed.)
Unpacking linux-image-
Done.
Selecting previously unselected package linux-image-
Unpacking linux-image-generic (from .../linux-
Selecting previously unselected package linux-image.
Unpacking linux-image (from .../linux-
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
/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.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
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.
linux-
linux-
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-
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
/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.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
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-
linux-
linux-image
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Sat Oct 6 09:10:36 2012
ErrorMessage: run-parts: /etc/kernel/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: initramfs-tools
Title: package linux-image-
UpgradeStatus: Upgraded to precise on 2012-04-30 (158 days ago)
tags: | removed: need-duplicate-check |
Hi,
Did this occur during an installation, a full upgrade or just a minor security upgrade?
Can you add the result of
ls -l /dev/disk/by-uuid
and
ls -ld /dev/disk/by-uuid*
Dave