[Bug 1323772] Re: Unattended "apt-get dist-upgrade -qq --force-yes" on 14.04 fails on grub configuration.
nickg
1323772 at bugs.launchpad.net
Mon Jun 30 02:28:42 UTC 2014
This bug breaks any automated tooling in building AMsI using ubuntu.
to reproduce:
Launch in us-west-1 ami-c6bdba83 (found via https://cloud-
images.ubuntu.com/locator/ec2/)
This ami is a:
us-west-1 trusty 14.04 LTS amd64 hvm:ebs-ssd
20140607.1 ami-c6bdba83 hvm
to reproduce
sudo apt-get update
sudo apt-get -y upgrade
sudo reboot # just because, likely not necessary
sudo apt-get -y dist-upgrade (and various other -force-yes)
Now complains about /boot/grub/menu.lst being modified and in conflict
with update.
the fix is what peter.waller suggested in https://bugs.launchpad.net
/cloud-init/+bug/1309079?comments=all
before fist-upgrade do the following
sudo rm /boot/grub/menu.lst
sudo update-grub-legacy-ec2 -y
sudo apt-get -y dist-upgrade
please advise.
thanks!
nickg
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1323772
Title:
Unattended "apt-get dist-upgrade -qq --force-yes" on 14.04 fails on
grub configuration.
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
Unattended "apt-get dist-upgrade -qq --force-yes" on 14.04 fails on
Grub configuration.
Reproduce by using "apt-get dist-upgrade -qq --force-yes" on the
latest Ubuntu 14.04 image (https://cloud-
images.ubuntu.com/locator/ec2/). It will not select grub defaults
("install the package maintainer's version") during upgrade. Setup
will prompt the user for input.
This is a new behavior (for me, since Ubuntu 6). It breaks
automatic/scripted setup of servers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1323772/+subscriptions
More information about the foundations-bugs
mailing list