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

Bug#559619: /etc/kernel/postrm.d/initramfs-tools should ignore errors from update-initramfs -d



Package: initramfs-tools
Version: 0.93.4
Severity: normal

Hi,

/etc/kernel/postrm.d/initramfs-tools exists with an error if
update-initramfs -d returns with an error. This could happen if one
tries to purge a kernel image wihch has its initramfs already removed.

Please consider adding a || true to the update-initramfs call in the
script or to only invoke update-initramfs if the initrd.img is still
there.

Greetings
Marc



Reply to: