When I do sudo do-release-upgrade
to update to the next LTS,
I get
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
The cause seems to be this (from /var/log/dist-upgrade/main.log
):
WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)
ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-desktop'
How do I resolve this problem? /var/log/dist-upgrade/apt.log
displays too many broken packages, and I am lost on how to proceed. I know I should not delete ubuntu-desktop
, what should I do?
Note, I did sudo apt update
and sudo apt upgrade
.
Nothing reports broken packages other than do-release-upgrade
. I do not think I have broken package in current version, it seems more like upgrading would cause some broken links.
sudo apt update
andsudo apt upgrade
,,, and fix any problems occurring here, among them the 'held broken packages.' – Soren A Sep 12 '22 at 10:29sudo apt update
andsudo apt upgrade
before dist-upgrade. Does not affect – Abastro Sep 12 '22 at 10:29do-release-upgrade
, specifically withubuntu-desktop
package. – Abastro Sep 12 '22 at 10:34ppa-purge
was not able to detect my packages. ..Do I need to uninstall steam? Also I do not recall which packages vulkan has installed. – Abastro Sep 13 '22 at 01:23