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

Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed



reassign 509237 kernel-package
stop

>  a) I install a  bunch of kernel-images with initrds, and use
>    mkinitramfs-tools to create the initramfs files.

first of all you shouldn't use mkinitramfs but update-initramfs.
# to create the initramfs
update-initramfs -c -t -k <kernelversion>
# to delete the initramfs
update-initramfs -d -t -k <kernelversion>

second if you now call it for your linux-image there will be a
sha1sum in /var/lib/initramfs-tools/$(uname -r)
this one needs to be removed when the linux image is purged.


> b) I now purge mkinitramfs-tools (wanting to move to yaird, for
>    example).

right.
the initramfs doesn't belong to initramfs-tools :)

please rethink an issue before reassigning to random packages.

kind regards

-- 
maks



Reply to: