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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1323772

Title:
  Unattended "apt-get dist-upgrade -qq --force-yes" on 14.04 fails on
  grub configuration.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1323772/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to