Comment 14 for bug 314879

Revision history for this message
Bob McElrath (bob+ubuntu) wrote :

I hit this bug today (again) in upgrading from a jaunty alpha to the current jaunty. The symptom is:

(1)<mcelrath@tardis:initramfs-tools> sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.28-11-generic
W:copy_exec: Not copying /lib/lvm-200/lvm to $DESTDIR/sbin/lvm, which is already a copy of /sbin/lvm
cpio: ./etc/udev/rules.d/*-lvm.rules: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.28-11-generic

It seems this is caused by a file /usr/share/initramfs-tools/hooks/lvm which was not removed when the lvm package became lvm2 and is controlled by /usr/share/initramfs-tools/hooks/lvm2. The lvm file has a date 2007-02-05 on my system, probably making it 8.04 or earlier. for me.

The lvm2 package should remove this file if it exists.