Package: kernel-package Version: 10.066 Severity: normal Unpacking replacement linux-image-2.6.18-4-686 ... Running postrm hook script /sbin/update-grub. You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!
Although my /etc/kernel-image.conf is standard (postrm_hook = update-grub), this message is displayed because the postrm, rather than using `which` to see if the program exists, manually looks for unqualified executables in its own hardcoded path, which has /sbin before /usr/sbin. So it finds the transitional update-grub first. I suppose that this could be avoided by, if a nonstandard path has to be used for some reason (which I can't fathom), at least searching for it in the standard order (/usr/sbin before /sbin). -- see shy jo, who always relies on PATH Just Working, and strangely doesn't get bugs filed against his code about it. :-P
signature.asc
Description: Digital signature