Comment 1 for bug 78552

Revision history for this message
chantra (chantra) wrote :

More exactly, the message is as follow:

Running postrm hook script /sbin/update-grub.
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.

 1. /usr/share/doc/grub/NEWS.Debian.gz

You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!

Searching for GRUB installation directory ... found: /boot/grub

Looking at /usr/share/doc/grub/NEWS.Debian.gz, /sbin/update-grub has been moved to /usr/sbin/update-grub

NEWS.Debian.gz says that you _must_ edit /etc/kernel-img.conf and change:
 postinst_hook = /sbin/update-grub
 postrm_hook = /sbin/update-grub

to
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub

In the meanwhile, a wrapper is provided to keep backward compatibility.

I don't know yet if kernel-img.conf will be automatically updated in a close future so I change this bug status to confirmed.
I believe people installing brand new feisty will get their kernel-img.conf properly configured.