Regression: users are prompted on upgrade of cloud images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce (use case):
1. Fire up a Bionic cloud image (I used 20180124)
2. Run: sudo apt-get update && sudo apt-get -y dist-upgrade
Expected results: completes without prompts.
Actual results: prompts the user for input to resolve a "manually" changed /boot/grub/
Steps to reproduce (developer):
1. Fire up a Bionic cloud image (I used 20180124)
2. Run "sudo update-
As you don't even need to upgrade to reproduce, it seems to me that the cloud image build is hacking menu.lst in a way that breaks update-
User impact: this messes up automation; it is a common use of cloud images for users to automate their server deployments which generally involves running a dist-upgrade and then bootstrapping some kind of configuration management system.
Workaround: users can use something like: apt-get update && UCF_FORCE_CONFOLD=1 apt-get -y dist-upgrade. Note that to avoid prompts in various other cases users should also set DEBIAN_
Background:
This has happened multiple times before. Please put CI in place to avoid this regressing again. See bug 1485685, bug 1581044, bug 1581046 and bug 1323772.
summary: |
- Users are prompted on upgrade of cloud images + Regression: users are prompted on upgrade of cloud images |
Changed in cloud-images: | |
status: | New → Triaged |
tags: | added: id-5a81ebf979b1f510227d9dfc |
Changed in cloud-images: | |
importance: | Undecided → High |
Ubuntu- devel-discuss Digest, Vol 144, Issue 13 responded that my problem could be caused by this bug. It would be Ubuntu 18.04 on DigitalOcean, the symptom being that apt updates were attempting to overwrite php.ini and asking about GRUB. I have no more information, this is FYI, feel free to close.