Grub update breaks automated dist-upgrade scripts on AMI images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Canonical Server |
Bug Description
The update committed here: https:/
See http://
Specifically, dpkg is giving the upgraded config file prompt upon configuring grub-pc ("A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified.")
However, the following does not work:
sudo apt-get update
sudo apt-get -y -o Dpkg::Options:
Furthermore, dpkg -S /etc/default/grub doesn't appear to show this file as being owned by any package prior to upgrade. I'm not sure how this file is generated (or how dpkg determines who owns it), but it's currently breaking scripts and I can't figure out a way to work around it short of deleting the file prior to the upgrade (which probably isn't safe).
Related branches
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Critical |
Changed in grub2 (Ubuntu Precise): | |
assignee: | nobody → Canonical Server Team (canonical-server) |
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Adam Conrad (adconrad) |
status: | In Progress → Triaged |
tags: | added: cloud-images cloud-images-build ec2-images |
Changed in ubuntu: | |
status: | Triaged → Fix Committed |
Changed in ubuntu: | |
assignee: | Adam Conrad (adconrad) → nobody |
affects: | ubuntu → grub2 (Ubuntu) |
Changed in cloud-images: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: id-5a31301daeb4abec945ed957 |
Chris uploaded a reversion to -proposed:
grub2 (1.99-21ubuntu3.2) precise-proposed; urgency=low
* Revert previous SRU. This caused AMI cloud images to prompt about the
changed configuration file, breaking automated upgrades. (LP: #1009294)
* This reopens bug #978464, which will break Ubuntu 10.04->12.04 upgrades
if user does not opt-in to reinstall grub-pc bootloader when prompted.
-- Christopher James Halse Rogers <email address hidden> Wed, 06 Jun 2012 14:14:48 +1000