[Bug 1874927] Re: do-release-upgrade's upgradeable package check doesn't consider kept back packages

Nick Rosbrook 1874927 at bugs.launchpad.net
Fri Nov 22 20:54:22 UTC 2024


** Tags added: rls-oo-incoming

-- 
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:
  Triaged

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