user prompted twice on ec2 grub-pc upgrade from 1.98-1ubuntu7 to 1.98-1ubuntu8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
Low
|
Unassigned | ||
grub2 (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Natty |
Won't Fix
|
High
|
Unassigned |
Bug Description
Binary package hint: grub2
During an 'apt-get update && apt-get install grub-pc' on a currently released ami (ami-4a0df923) I'm prompted twice by debconf for grub-pc. ami-4a0df923 is us-east-1 ebs/ubuntu-
The two prompts are for:
* Linux command line
* Continue without installing grub
a diff of 'debconf-
-grub-pc grub-pc/
+grub-pc grub-pc/
The first prompt can be avoided by:
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub2/linux_cmdline string "x" |
sudo debconf-
The second prompt can be avoided by:
$ printf "%s\t%s\t%s\t%s\n" grub-pc grub-pc/
sudo debconf-
Also, subsequent revert to 1ubuntu7 and then forward to 1ubuntu8 do not see any prompts.
I'm not sure whether or not this prompt is new with 1ubuntu8, and looking at the changelog alone, I would suspect that either
a.) it has been present in all updates of grub-pc on lucid ec2
b.) it was new in 1.98-1ubuntu7
Overall, there is no reason for the ec2 user to see this prompt, and I've attempted to seed properly so that the prompts would be avoided. How can I ensure that the user isn't prompted?
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu8
ProcVersionSign
Uname: Linux 2.6.32-309-ec2 x86_64
Architecture: amd64
Date: Tue Nov 30 19:51:05 2010
Ec2AMI: ami-0e1bec67
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t1.micro
Ec2Kernel: aki-ba1aeed3
Ec2Ramdisk: unavailable
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
Originally raised: http://
summary: |
- user prompted twice on grub-pc upgrade from 1.98-1ubuntu7 to + user prompted twice on ec2 grub-pc upgrade from 1.98-1ubuntu7 to 1.98-1ubuntu8 |
description: | updated |
Changed in cloud-init (Ubuntu Natty): | |
importance: | Undecided → Low |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu Lucid): | |
importance: | Undecided → High |
status: | New → In Progress |
I have just verified that this bug has been present in all 10.04 images. Ie, a grub-pc upgrade of on any of our released images would force the 2 prompts.
This can be worked around with: t%s\t%s\ n%s\t%s\ t%s\t%s\ n" \ install_ devices_ empty boolean true \ set-selections
$ printf "%s\t%s\
grub-pc grub-pc/
grub-pc grub2/linux_cmdline string "x" |
sudo debconf-
$ sudo apt-get upgrade