[Bug 1009294] [NEW] Grub update breaks automated dist-upgrade scripts on AMI images

Launchpad Bug Tracker 1009294 at bugs.launchpad.net
Sat Jan 16 17:25:25 UTC 2016


You have been subscribed to a public bug:

The update committed here:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/978464  appears to
have exposed a bug in either grub or apt that is breaking scripts based
on the Amazon images from cloud.ubuntu.com.

See http://askubuntu.com/questions/146921/how-do-i-apt-get-y-dist-
upgrade-without-a-grub-config-prompt


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::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade

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).

** Affects: grub2 (Ubuntu)
     Importance: High
         Status: Fix Released

** Affects: grub2 (Ubuntu Precise)
     Importance: High
     Assignee: Canonical Server Team (canonical-server)
         Status: Fix Released


** Tags: cloud-images cloud-images-build ec2-images verification-done
-- 
Grub update breaks automated dist-upgrade scripts on AMI images
https://bugs.launchpad.net/bugs/1009294
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list