Public bug reported:
Binary package hint: grub
After a clean install of 8.04 x86 Alpha 5 (without bootloader), I
installed the grub package. When I run "sudo update-grub", I get the
following output:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like
/boot/grub/menu.lst generated for you? (y/N)
The script stalls at this point. No matter what I type, the script just
stalls there. Looking at the script, the problem area is here:
echo -n "Would you like $menu_file generated for you? " >&2
echo -n "(y/N) " >&2
read answer
I created a short script to reproduce the problem, and it seems that the
problem stems from:
. /usr/share/debconf/confmodule
Here's the sample script that reproduces the stalling:
#!/bin/bash
. /usr/share/debconf/confmodule
read answer
echo $answer
I don't know why confmodule is causing this.
The workaround is invoke update-grub with "-y".
** Affects: grub (Ubuntu)
Importance: Medium
Status: Fix Released
--
update-grub stalls at user input
https://bugs.launchpad.net/bugs/194710
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs