Bug#425221: memtest86+: fails to configure if grub is installed but not used
Robert Millan
rmh at aybabtu.com
Tue May 29 13:45:39 UTC 2007
On Sun, May 20, 2007 at 11:46:55PM +0200, Adeodato Simó wrote:
> * Yann Dirson [Sun, 20 May 2007 22:51:47 +0200]:
>
> > On Sun, May 20, 2007 at 11:16:38AM +0200, Adeodato Simó wrote:
> > > Don't ask me why, but the grub package is installed on my system, but
> > > not used to boot. This makes the `upgrade-grub` call in line 21 of
> > > memtest86+.postinst fail when configuring, leaving the package in an
> > > unconfigured state. Maybe you want to add a '|| true' bit there.
>
> > Could you paste the message ? That could be helpful to the grub
> > people to tell what's happenning.
>
> What happens is that grub is installed, but is not used as a boot
> loader, hence no /boot/grub directory exists. Here is the output:
Oops. I didn't think of the possibility of grub legacy being installed :-)
I suggest:
if test -e /boot/grub/grub.cfg ; then
update-grub
fi
--
Robert Millan
My spam trap is honeypot at aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
More information about the Pkg-grub-devel
mailing list