[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491443: /var/lib/initramfs-tools/ not updated



Package: initramfs-tools
Version: 0.92e
Severity: minor

Today i've changed "update_initramfs" variable from "yes" to "all".
The update-initramfs scripts seems to look at the contents of the directory "/var/lib/initramfs-tools/" to know for what image to update (it contain MD5 files, one for every initramfs created in this system). The problem is that nobody seems to care of cleaning that directory after a kernel removal, so it is full of obsolete files, that makes update-initramfs a bit noisy. On my system:

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.25-2-686
update-initramfs: Generating /boot/initrd.img-2.6.24-1-686
/boot/initrd.img-2.6.23-1-686 does not exist. Cannot update.
/boot/initrd.img-2.6.22-3-686 does not exist. Cannot update.
/boot/initrd.img-2.6.22-2-686 does not exist. Cannot update.
/boot/initrd.img-2.6.22-1-686 does not exist. Cannot update.
/boot/initrd.img-2.6.21-2-686 does not exist. Cannot update.
/boot/initrd.img-2.6.21-1-686 does not exist. Cannot update.
/boot/initrd.img-2.6.20-1-686 does not exist. Cannot update.
/boot/initrd.img-2.6.18-4-686 does not exist. Cannot update.
/boot/initrd.img-2.6.18-3-686 does not exist. Cannot update.
/boot/initrd.img-2.6.18-2-686 does not exist. Cannot update.
/boot/initrd.img-2.6.18-1-686 does not exist. Cannot update.
/boot/initrd.img-2.6.18-1-486 does not exist. Cannot update.
/boot/initrd.img-2.6.17-2-686 does not exist. Cannot update.
/boot/initrd.img-2.6.16-2-686 does not exist. Cannot update.
#

In fact i've only the first two kernel installed.
Maybe when a kernel get purged, the removal scripts should clean its files under /var.

Regards.

Cesare.



Reply to: