Report this

What is the reason for this report?

Upgrade Ubuntu 18.04 to 20.04

Posted on December 13, 2021
mkpc

By mkpc

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.

Hello,

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:

/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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.