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.
do-release-upgrade
withoutsudo
. – Pilot6 Dec 20 '20 at 09:13sudo
same output – Leos313 Dec 20 '20 at 09:30sudo
fixed withecho $(hostname -I | cut -d\ -f1) $(hostname) | sudo -h 127.0.0.1 tee -a /etc/hosts
. Rebooting, and the problem is still there! – Leos313 Dec 20 '20 at 09:42sudo apt full-upgrade
is usually used to fully upgrade a system (it won't bump you to the next release unless you've wrongly hacked your sources).apt upgrade
can in certain circumstances leave some upgrades behind (why the full-upgrade command exists). If you have issues and have triedsudo apt full-upgrade
(orsudo apt-get dist-upgrade
) your issue could be your sources (ie. readsudo apt update
& it's messages looking for missing lines) – guiverc Dec 20 '20 at 10:23