update-grub run multiple times during distribution upgrade
Bug #1310087 reported by
Wolter HV
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
During a system distribution upgrade, the grub boot list is built and rebuilt multiple times. It seems it is built first after installing the newest linux kernel, and then after each removal of an older (obsolete) kernel.
Description: Ubuntu 14.04 LTS
Release: 14.04
update-manager:
Installed: 1:0.196.11
Candidate: 1:0.196.11
Version table:
*** 1:0.196.11 0
500 http://
100 /var/lib/
It is expected to have the grub boot list built only once.
tags: | added: dist-upgrade |
affects: | update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu) |
summary: |
- Grub boot list built multiple times during distribution upgrade + update-grub run multiple times during distribution upgrade |
tags: | removed: upgrade-software-version |
To post a comment you must log in.
This kind of thing happens because each package has scripts to make sure needed stuff gets done, and there's no mechanism for telling it that more things are going to change again later.
do-release-upgrade doesn't know the details of what every package does in its postinst. Things don't happen in one giant set of installs and removals; instead there are smaller batches of changes to minimize how much stuff has to run while there are broken dependencies.
Is there a way to flag launchpad bugs as wishlist? Even if so, it's hard to imagine any way to minimize repeated work without making it more vulnerable to being left broken on errors / interruptions.