When running sudo do-release-upgrade
I eventually get an error
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'.
In /var/log/dist-upgrade/main.log
I see the following
2022-09-10 19:16:11,956 DEBUG Marking 'ubuntu-desktop' for upgrade
2022-09-10 19:16:12,108 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
2022-09-10 19:16:12,350 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'
However I can't find any held broken packages. sudo dpkg --get-selections | grep hold
is empty.
Running sudo apt update && sudo apt upgrade
does not reveal anything strange
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt update
andsudo apt upgrade
If errors, run any repair commands it suggests.sudo apt update
andsudo apt upgrade
in your question.sudo apt update && sudo apt upgrade
in my question. It looks fine...ppa-purge
.