[Bug 1874927] Re: do-release-upgrade's upgradeable package check doesn't consider kept back packages
Julian Andres Klode
1874927 at bugs.launchpad.net
Thu Nov 28 16:32:24 UTC 2024
The check for phased-update-percentage is there. What happened here in
Heinrich's example is libcanberra-pulse failing to install. That's a
dependency issue.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1874927
Title:
do-release-upgrade's upgradeable package check doesn't consider kept
back packages
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1874927/+subscriptions
More information about the foundations-bugs
mailing list