do-release-upgrade's upgradeable package check doesn't consider kept back packages
Bug #1874927 reported by
Brian Murray
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I was upgrading a system from 18.04 LTS to 20.04 LTS and had some packages that were kept back and when I ran do-release-upgrade -d I was told to install all available updates. However, there were no available updates because some packages were kept back. This seems like a rare scenario but the following check may need some improvement.
+ for pkg in upgradable:
+ if 'Phased-
+ # P-U-P does not exist if it is fully phased
+ continue
+ else:
+ install_count += 1
+ # one upgradeable package is enough to stop the dist-upgrade
+ break
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.