Hi everyone,
This is my first bug report, so I hope I'm sending it to the right place.
There's a typo in the postremoval script of kernel-package, near line 240:
###
image_magic("initrd.img", $image_dest if $initrd;
###
This line has a syntax error: there's a missing parentheses here that's
making removal of a customized kernel very hard. *grin*
Hope this helps!