When I do a make install I get: which: no update-grub in (/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin) I reinstalled grub-0.97-r3 but it doesn't provide that. Reproducible: Always Steps to Reproduce:
Does this work in previous versions? I can't see where (or why) it's calling update-grub. update-grub is a debian utility for updating menu.lst after a kernel upgrade.
(In reply to comment #1) > Does this work in previous versions? I can't see where (or why) it's calling > update-grub. update-grub is a debian utility for updating menu.lst after a > kernel upgrade. I didn't see this on my primary system. But today I am upgrading my server ending up in that error. make install sh /usr/src/linux-2.6.21-gentoo/arch/x86_64/boot/install.sh 2.6.21-gentoo arch/x86_64/boot/bzImage System.map "/boot" In order to use the new kernel image you have just installed, you will need to reboot the machine. First, however, you will need to either make a bootable floppy diskette, re-run LILO, or have GRUB installed. Checking for ELILO...No which: no update-grub in (/sbin:/bin:/usr/sbin:/usr/bin:/sbin:/usr/sbin) Checking for LILO...No Checking for SILO...No Checking for PALO...No Should I make a bootdisk? (y/N) make[1]: *** [install] Interrupt make: *** [install] Interrupt (And yes I installed my linux-2.6.20-gentoo-r3 in the same way.)
What version of debianutils are you using?
(In reply to comment #3) > What version of debianutils are you using? sys-apps/debianutils-2.18
Ahha, I think I might have found the issue. Try downgrading to 2.17.5. debianutils (2.18) unstable; urgency=low * mkboot: check for update-grub instead of grub, thereby handling both grub and grub2 packages. closes: #414495. Thanks to Yves Lavoie ing. for suggested course of action. -- Clint Adams <schizo@debian.org> Sun, 11 Mar 2007 23:25:02 -0400
That does the trick.
this bug is not fixed in debianutils yet
base-system: Please patch debianutils to not look for update-grub but instead grub/grub2, thanks!
Or just revert back to 2.17.5 and mask 2.18. The *only* change between 2.17.5 and 2.18 is this patch which breaks installkernel by looking for update-grub instead of grub (and the version number, of course).
*** This bug has been marked as a duplicate of bug 177576 ***