[Bug 2008908] [NEW] Ubuntu 20.04 to 22.04 upgrade fails

Jean-Luc Aufranc 2008908 at bugs.launchpad.net
Wed Mar 1 14:55:34 UTC 2023


Public bug reported:

The upgrade to Ubuntu 22.04 fails with the message:

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was likely caused by: 
* Unofficial software packages not provided by Ubuntu 
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove software from a Launchpad PPA and 
try the upgrade again. 

But I understand third-party ppa were disabled during the upgrade, so
it's unclear where the issue is coming from. apt.log complains about gcc
instead:


Investigating (0) libgcc1:amd64 < 1:10.3.0-1ubuntu1~20.04 @ii mK Ib >
Broken libgcc1:amd64 Depends on gcc-10-base:amd64 < 10.3.0-1ubuntu1~20.04 -> 10.4.0-4ubuntu1~22.04 @ii umU > (= 10.3.0-1ubuntu1~20.04)
  Considering gcc-10-base:amd64 5 as a solution to libgcc1:amd64 75
  Added gcc-10-base:amd64 to the remove list
  Fixing libgcc1:amd64 via keep of gcc-10-base:amd64
  MarkKeep gcc-10-base:amd64 < 10.3.0-1ubuntu1~20.04 -> 10.4.0-4ubuntu1~22.04 @ii umU > FU=0

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.40 [origin: unknown]
ProcVersionSignature: Ubuntu 5.15.0-60.66~20.04.1-generic 5.15.78
Uname: Linux 5.15.0-60-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar  1 21:51:31 2023
InstallationDate: Installed on 2020-10-02 (880 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-03-01 (0 days ago)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade focal third-party-packages

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

Title:
  Ubuntu 20.04 to 22.04 upgrade fails

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

Bug description:
  The upgrade to Ubuntu 22.04 fails with the message:

  Calculating the changes

  Could not calculate the upgrade

  An unresolvable problem occurred while calculating the upgrade.

  This was likely caused by: 
  * Unofficial software packages not provided by Ubuntu 
  Please use the tool 'ppa-purge' from the ppa-purge 
  package to remove software from a Launchpad PPA and 
  try the upgrade again. 

  But I understand third-party ppa were disabled during the upgrade, so
  it's unclear where the issue is coming from. apt.log complains about
  gcc instead:

  
  Investigating (0) libgcc1:amd64 < 1:10.3.0-1ubuntu1~20.04 @ii mK Ib >
  Broken libgcc1:amd64 Depends on gcc-10-base:amd64 < 10.3.0-1ubuntu1~20.04 -> 10.4.0-4ubuntu1~22.04 @ii umU > (= 10.3.0-1ubuntu1~20.04)
    Considering gcc-10-base:amd64 5 as a solution to libgcc1:amd64 75
    Added gcc-10-base:amd64 to the remove list
    Fixing libgcc1:amd64 via keep of gcc-10-base:amd64
    MarkKeep gcc-10-base:amd64 < 10.3.0-1ubuntu1~20.04 -> 10.4.0-4ubuntu1~22.04 @ii umU > FU=0

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.40 [origin: unknown]
  ProcVersionSignature: Ubuntu 5.15.0-60.66~20.04.1-generic 5.15.78
  Uname: Linux 5.15.0-60-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.25
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Mar  1 21:51:31 2023
  InstallationDate: Installed on 2020-10-02 (880 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2023-03-01 (0 days ago)
  VarLogDistupgradeTermlog:

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




More information about the foundations-bugs mailing list