Following the procedure:
- Upgrade all installed packages of Ubuntu version 18.04 by running
sudo apt update && sudo apt upgrade
command. - Reboot the Ubuntu Linux system by tying the
sudo reboot command
- Install the Ubuntu update tool, run:
sudo apt install update-manager-core
- 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.
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 processsudo do-release-upgrade
continues with no problems anymore.In my case, it automatically and autonomously passed from
16.04
to18.04
and, then, from18.04
to20.04
.