[Bug 78552] Re: /sbin/update-grub complains about being run instead of /usr/sbin/update-grub

chantra chantra at debuntu.org
Tue Jan 9 10:31:17 UTC 2007


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.

** Changed in: linux-meta (Ubuntu)
       Status: Unconfirmed => Confirmed

-- 
/sbin/update-grub complains about being run instead of /usr/sbin/update-grub
https://launchpad.net/bugs/78552




More information about the kernel-bugs mailing list