Ubuntu – Upgrade path from 16.04 to 20.04 LTS without GUI change


The situation:

I have a couple of machines with modern hardware running 16.04 mainly used for scientific computations. With the new LTS on the horizon, I am looking to upgrade
them to 20.04 with stability and reliability as key component. If possible, I would keep the unity desktop and not switch the Gnome.

The question:
Best approach to take, first upgrade to 18.04 or directly to 20.04 on first point release? Possible to upgrade to a new LTS without breaking unity?

Will keep this post updated as release date gets closer.

Best Answer

  • First, if you're looking for stability, then you must wait till June for the first point release of 20.04.

    Second, you cannot upgrade 16.04 directly to 20.04. You first need to reach 18.04 and then 20.04. Amid this, you'll definitely lose Unity as 18.04 uses GNOME. But, guess what you can also customize your Ubuntu replacing GNOME with Unity later on.

    Lastly, without GUI? Yes, you can use the single-line command for upgradation:

    sudo apt update && sudo apt upgrade

    sudo do-release-upgrade

    You can also configure it for checking any new release version, in case it is configured for checking only LTS release. For the same, update the file:

    sudo vim /etc/update-manager/release-upgrades

    Change 'Prompt=normal' or 'Prompt=lts'

    If you're not able to get Ubuntu 20.04, use development version using the command:

    sudo do-release-upgrade -d 
  • Related Question