I have Ubuntu 18.04 installed on my laptop and was trying to upgrade to 20.04. After disabling PPA sources and running the upgrade tool, I receive the "Could not calculate the upgrade" error.
The logs for Broken packages from /var/log/dist-upgrade/apt.log
are available here. There seems to be +200 packages with conflicts including very important ones like python, so removing all of them as proposed in this answer is not an option. I have already tried apt remove
and apt autoremove
and removing 3rd party apt sources and the whole nine yards.
Considering that I haven't used this laptop for too long, it is very strange that the automatic update is impossible. Are there any other ways to force the upgrade using the do-release-upgrade
tool?
do-release-upgrade
? – Iman Akbari Nov 09 '20 at 18:24update-manager -c
(in 20.04, I hope it also works in 18.04). You may also reinstall completely but you have a greater chance to wipe out your data. Upgrading saves about 3 GB compared to complete install. 20.10 is also available with some improvements but no long term support. – Pierre ALBARÈDE Nov 09 '20 at 18:30