2

Following the procedure:

  1. Upgrade all installed packages of Ubuntu version 18.04 by running sudo apt update && sudo apt upgrade command.
  2. Reboot the Ubuntu Linux system by tying the sudo reboot command
  3. Install the Ubuntu update tool, run: sudo apt install update-manager-core
  4. Start the upgrade procedure, run: sudo do-release-upgrade

Here I get stuck and this is the output:

$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

But I completed the previous steps with no errors.

How can I upgrade my Xubuntu from 16.04 to 20.04? It seems that some packages are impossible to upgrade and this may cause the upgrade to fail. I will investigate deeply. In the meanwhile, any suggestion is appreciated.

Leos313
  • 2,064

1 Answers1

2

Solution:

After an investigation, it seems that there were two packages causing the problems: Pinta and some other unknown packages of Kodi. Simply, the system is not able to upgrade them or the repositories are not reachable. The two useful links I have read are this and this other one. It is true that I did not think that these packages were crucial for the system to complete the process. Howerever they were.

So I simply uninstall them with sudo apt-get autoremove --purge <package_name> and the process sudo do-release-upgrade continues with no problems anymore.

General Solution: if you have similar errors/problems, try to solve all the update/upgrade one by one before the sudo do-release-upgrade.

In my case, it automatically and autonomously passed from 16.04 to 18.04 and, then, from 18.04 to 20.04.

Leos313
  • 2,064