package linux-image-2.6.30-5-generic 2.6.30-5.6 failed to install/upgrade: exit status 2 - cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory

Bug #377796 reported by wirechief
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I did a update last night and it brought a new kerenel 2.6.30-5-generic i tried to fix the error and got this:

irechief@wirechief-desktop:/var/cache/apt/archives$ sudo dpkg -i linux-image-2.6.30-2-generic_2.6.30-2.3_amd64.deb
(Reading database ... 171423 files and directories currently installed.)
Preparing to replace linux-image-2.6.30-2-generic 2.6.30-2.3 (using linux-image-2.6.30-2-generic_2.6.30-2.3_amd64.deb) ...
Done.
Unpacking replacement linux-image-2.6.30-2-generic ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.30-5-generic
Found kernel: /boot/vmlinuz-2.6.30-2-generic
Found kernel: /boot/vmlinuz-2.6.28-12-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

dpkg: dependency problems prevent configuration of linux-image-2.6.30-2-generic:
 linux-image-2.6.30-2-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
  Package initramfs-tools is not configured yet.
dpkg: error processing linux-image-2.6.30-2-generic (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.30-2-generic
wirechief@wirechief-desktop:/var/cache/apt/archives$ sudo dpkg --configure -aSetting up initramfs-tools (0.92bubuntu30) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-image-2.6.30-2-generic (2.6.30-2.3) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.30-2-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-2-generic
Failed to create initrd image.
dpkg: error processing linux-image-2.6.30-2-generic (--configure):
 subprocess post-installation script returned error exit status 2
Setting up linux-image-2.6.30-5-generic (2.6.30-5.6) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.30-5-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-5-generic
Failed to create initrd image.
dpkg: error processing linux-image-2.6.30-5-generic (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.30-5-generic; however:
  Package linux-image-2.6.30-5-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.30-2-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-2-generic
dpkg: subprocess post-installation script returned error exit status 1

and when i tried this:
sudo dpkg --configure -aSetting up initramfs-tools (0.92bubuntu30) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-image-2.6.30-2-generic (2.6.30-2.3) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.30-2-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-2-generic
Failed to create initrd image.
dpkg: error processing linux-image-2.6.30-2-generic (--configure):
 subprocess post-installation script returned error exit status 2
Setting up linux-image-2.6.30-5-generic (2.6.30-5.6) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.30-5-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-5-generic
Failed to create initrd image.
dpkg: error processing linux-image-2.6.30-5-generic (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.30-5-generic; however:
  Package linux-image-2.6.30-5-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.30-2-generic
cpio: ./lib/udev/vol_id: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.30-2-generic
dpkg: subprocess post-installation script returned error exit status 1

ProblemType: Package
Architecture: amd64
Date: Sun May 17 11:34:13 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=e5aa13e4-4707-4e64-9561-c68eab54ab4d
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
 Bus 002 Device 003: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
 Bus 002 Device 004: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Gateway T6420
Package: linux-image-2.6.30-5-generic 2.6.30-5.6
ProcCmdLine: root=UUID=91b203d5-20cf-46f1-8918-69207f83d273 ro quiet splash
ProcVersionSignature: Ubuntu 2.6.30-2.3-generic
RelatedPackageVersions:

SourcePackage: linux
Title: package linux-image-2.6.30-5-generic 2.6.30-5.6 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.30-2-generic x86_64
dmi.bios.date: 11/15/2005
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080012
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7207G
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: 100
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080012:bd11/15/2005:svnGateway:pnT6420:pvr100:rvnTobefilledbyO.E.M.:rnMS-7207G:rvr100:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: T6420
dmi.product.version: 100
dmi.sys.vendor: Gateway

Revision history for this message
wirechief (wirechief) wrote :
VladNistor (vladnistor)
affects: linux (Ubuntu) → initramfs-tools (Ubuntu)
Revision history for this message
Tim Webster (tdwebste) wrote :

This is a not a problem with the linux-image package

Rather this is a problem with initramfs-tools

summary: package linux-image-2.6.30-5-generic 2.6.30-5.6 failed to
- install/upgrade: subprocess post-installation script returned error exit
- status 2
+ install/upgrade: exit status 2 - cpio: ./lib/udev/vol_id: Cannot stat:
+ No such file or directory
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.