Bug#499270: initramfs-tools: postrm.d/update-initramfs breaks removal of old kernel

2008-09-30 Thread Andres Salomon
Hi, We can possibly distinguish between /etc/kernel/postinst.d getting called from kernel-package context, and upstream debpkg context. debpkg calls with the following: test -d /etc/kernel/postinst.d run-parts --arg=$version /etc/kernel/postinst.d kernel-package's uses: system

Bug#499270: initramfs-tools: postrm.d/update-initramfs breaks removal of old kernel

2008-09-17 Thread Vincent Danjean
Package: initramfs-tools Version: 0.92k Severity: serious Justification: forbid removal of other packages Hi, I upgraded initramfs-tools then I tried to remove an old kernel package (package from the Debian Kernel Team repo). I got an error: eyak:/home/vdanjean# dpkg --purge