On Fri, 26 Feb 2010 10:22:33 -0500 (EST), Raphael Hertzog wrote: > I see code setting and exporting DEB_MAINT_PARAMS in > /var/lib/dpkg/info/linux-image-2.6.32-3-amd64.postrm so it should work.
That logic is not present in the -trunk kernels currently present in testing. But relief is in sight. Good. Someday they will migrate from unstable to testing. Let's hope testing doesn't freeze first! On Fri, 26 Feb 2010 10:22:33 -0500 (EST), Raphael Hertzog wrote: > Anyway closing the bug as it's not a bug in dpkg and your zipl hook > script seems to be your own (not part of s390-tools at least). The symlink_hook script originally shipped as a sample script in kernel-package, and I modified it. But the original was a postinst hook, not a postrm hook. So it's "mine" on two counts: I modified it from the original, and I installed it in /etc/kernel/postrm.d as well as in /etc/kernel/postinst.d. zipl (the boot loader itself) is part of s390-tools. The moral of the story: if commands in your hook script write to STDOUT, you may need to redirect output to STDERR or some other place to avoid confusing debconf. If you don't, it may cause a mysterious error even if the hook script exits with a return status of zero! -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

