do-release-upgrade's upgradeable package check doesn't consider kept back packages

Bug #1874927 reported by Brian Murray
42
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-Update-Percentage' in pkg.candidate.record:
+ # 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

Tags: focal
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.