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

Bug#420245: /usr/sbin/update-initramfs: uninstalled kernels are not removed from /var/lib/initramfs-tools



On Sat, Apr 21, 2007 at 05:42:30AM +0200, Michael Biebl wrote:
> 
> update-initramfs -u -k all tries to update the initial ramdisk for
> kernels, which aren't installed on my system anymore.
> The problems seems to be, that I have files in
> /var/lib/initramfs-tools# ls
> 2.6.20-1-686  2.6.20.7  2.6.21-rc6  2.6.21-rc7
> 
> for which no kernel exists anymore (because it was uninstalled).

yes known limitation
 
> If update-initramfs cannot find the corresponding kernel image to a file
> in /var/lib/initramfs-tools, it should simply remove the file from
> there.
> 
> Cheers,
> Michael

well it is planed to have install/postrm hooks for linux-2.6,
than on deinstallation the sha1sum would be removed.
 
 
thanks for feedback.

--
maks



Reply to: