[Bug 2131162] Re: Upgrade to Ubuntu 20.04 to 22.04 failed for An unresolvable problem occurred while calculating the upgrade
Giuseppe Lauri
2131162 at bugs.launchpad.net
Tue Nov 18 14:51:50 UTC 2025
After investigation with AI assistance, i found that the problem was:
ii packagekit 1.1.13-2ubuntu1.1
ii packagekit-tools 1.1.13-2ubuntu1.1
ii gstreamer1.0-packagekit 1.1.13-2ubuntu1.1
Had to remove them manually:
sudo apt remove packagekit packagekit-tools gstreamer1.0-packagekit libpackagekit-glib2-18
Then:
sudo apt --fix-broken install
sudo apt autoremove
And try again with the update:
sudo do-release-upgrade
This solved the issue that i was getting and the update to Ubuntu 22.04
proceeded till completed.
But problems did not finished. After the restart, i had issues with GUI
not starting.
When trying to reinstall
sudo apt install --reinstall gdm3 ubuntu-desktop gnome-shell xorg
I got:
Some package could not be installed The following package have unmet dependency Gstreamer1.0-pipewire : depends pipewire (=0.3.48-1ubuntu3) but 1.0.7.3 ubuntu20.04 is to be installed Depends: libpipewure-0.3-0 (= 0.3.48-1ububtu3) but 1.0.7-3ubuntu20.04 is to be installed Unable to correct problems, you have held broken packages
Meaning that there were still some old ubuntu20.04 packages installed.
I solved this problem by manually removing all old packages:
sudo apt remove pipewire libpipewire-0.3-0 gstreamer1.0-pipewire libspa-0.2-modules
After the next restart the GUI worked perfectly.
I could also update the system to Ubuntu24.04 with no issues.
The only last issues happened after that with snap store:
cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software), pids: 3578
I had to kill the process:
kill -9 3578
Then update snap:
sudo snap refresh snap-store
--
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/2131162
Title:
Upgrade to Ubuntu 20.04 to 22.04 failed for An unresolvable problem
occurred while calculating the upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
When executing:
sudo do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [1,267 kB]
Fetched 1,268 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'
Reading cache
Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://archive.canonical.com/ubuntu focal InRelease
Hit http://security.ubuntu.com/ubuntu focal-security InRelease
Hit http://archive.ubuntu.com/ubuntu focal InRelease
Hit http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit http://archive.ubuntu.com/ubuntu focal-backports InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
None
Checking for installed snaps
Calculating snap size requirements
Updating repository information
[...]
Fetched 73.7 MB in 6s (11.5 MB/s)
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-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.41
ProcVersionSignature: Ubuntu 5.15.0-139.149~20.04.1-generic 5.15.178
Uname: Linux 5.15.0-139-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.31
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 12 17:16:23 2025
DistributionChannelDescriptor:
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-focal-amd64-20200502-85
InstallationDate: Installed on 2022-08-20 (1180 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 20200502-05:58
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2025-11-12 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2131162/+subscriptions
More information about the foundations-bugs
mailing list