Hi, when trying to upgrade from ubuntu 18.04 to 20.04, I get the following error could not calculate the upgrade an unresolvable problem occurred while calculating the upgrade.
I did look at the main.log and identified an “error” line ERROR Dist-upgrade failed : ‘E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.’
*BTY I just did the upgrade from 16 to 18 and it went well. The only thing is that the web management is still reporting : (Ubuntu 16.04.3x64)
Any idea?
Best regards
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
What I could suggest is to try the following first:
sudo apt update
sudo apt autoremove
If this does not help, I would suggest checking the following log:
/var/log/dist-upgrade/apt.log
In there you should have more information on which packages are stopping the upgrade. You would then need to use the apt remove PACKAGE_NAME_HERE and remove those packages in order to be able to proceed with the upgrade.
As a side note, always make sure to backup your server before proceeding with such major upgrades.
Let me know how it goes. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.