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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello,
What I could suggest is to try the following first:
If this does not help, I would suggest checking the following 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