Unable to upgrade to 22.04
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Tried running sudo do-release-upgrade multiple times but it ends up with:
---
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating the changes
Calculating the changes
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-
you want to investigate this yourself the log files in
'/var/log/
Specifically, look at 'main.log' and 'apt.log'.
---
These are the PPAs that are on the system:
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-131-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 22 16:20:45 2022
InstallationDate: Installed on 2019-12-08 (1048 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2022-10-22 (0 days ago)

Reviewing the files from your upgrade attempt, you have installed packages from the deadsnakes PPA. Some of the packages installed are newer than those in the official archive, which is keeping some python packages installed which then prevents the upgrade from being calculated. Please try using the ppa-purge tool to remove packages installed from ppa:deadsnakes/ppa. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck!