Bug#421321: You shouldn't call /sbin/update-grub

Andrew Hately andrew.hately at gmail.com
Fri Apr 27 20:51:28 UTC 2007


Package: grub
Version: 0.97-27

I installed this machine today from empty using an official etch CD
set and local etch mirror. All OK. Then I built a new kernel and
installed it, receiving the following output


# dpkg -i linux-image-2.6.18audiolan_2.6.18audiolan-10.00.Custom_i386.deb
Selecting previously deselected package linux-image-2.6.18audiolan.
(Reading database ... 94633 files and directories currently installed.)
Unpacking linux-image-2.6.18audiolan (from
.../linux-image-2.6.18audiolan_2.6.18audiolan-10.00.Custom_i386.deb)
...
Done.
Setting up linux-image-2.6.18audiolan (2.6.18audiolan-10.00.Custom) ...
Running depmod.
Running postinst hook script /sbin/update-grub.
You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub
instead!

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18audiolan
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done



As I see it, etch is broken as delivered.
/etc/kernel-img.conf does not specify the path of update-grub.
/sbin/update-grub only exists to print the warning given above, and
then call the real update-grub in /usr/sbin
This could be fixed by removing /sbin/update-grub

best regards
Andrew Hately
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070427/6cad453f/attachment.html


More information about the Pkg-grub-devel mailing list