Upgrade Ubuntu 18.04 to 20.04

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.


What I could suggest is to try the following first:

  • Make sure your package list is up to date:
sudo apt update
  • Remove all “no longer required” packages
sudo apt autoremove

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