[Bug 2112103] Re: do-release-upgrade can't upgrade due to phasing

Julian Andres Klode 2112103 at bugs.launchpad.net
Thu May 29 12:35:15 UTC 2025


The relevant code snippet is:

  upgradable = [pkg for pkg in cache if pkg.is_upgradable]
  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
  if install_count > 0:
    if not options.quiet:
      print(_("Please install all available updates "
              "for your release before upgrading."))

As you can see it only counts non-phasing upgrades. Please install any
other available upgrades.

To get a full list of upgradable packages, use

   apt list --upgradable

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Incomplete

-- 
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/2112103

Title:
  do-release-upgrade can't upgrade due to phasing

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  `do-release-upgrade` can not upgrade with the error:

  ```
  Checking for a new Ubuntu release
  Please install all available updates for your release before upgrading.
  ```

  But `apt upgrade` can not upgrade due to phasing

  ```
  Not upgrading yet due to phasing:
    python3-update-manager  update-manager-core
  ```

  There got to be a flag to force do-release-upgrade no matter what

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2112103/+subscriptions




More information about the foundations-bugs mailing list