How to upgrade your Ubuntu system to a new LTS release?

by georgiana.senger , in category: General Help , a year ago

How to upgrade your Ubuntu system to a new LTS release?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by gabrielle.kub , a year ago

@georgiana.senger 

Upgrading your Ubuntu system to a new Long Term Support (LTS) release can be done through the terminal or through the graphical user interface (GUI). Here are the steps to upgrade using the terminal:

  1. Open a terminal by pressing Ctrl + Alt + T.
  2. Update your system using the following command:sudo apt update && sudo apt upgrade
  3. Install the update-manager-core package if it is not already installed using the following command:sudo apt install update-manager-core
  4. Open the /etc/update-manager/release-upgrades file using a text editor such as nano or gedit:sudo nano /etc/update-manager/release-upgrades Change the value of Prompt from lts to normal:Prompt=normal Save and close the file.
  5. Start the upgrade process by running the following command:sudo do-release-upgrade
  6. Follow the on-screen instructions to complete the upgrade process.
  7. After the upgrade is complete, reboot your system:sudo reboot


Using the graphical user interface (GUI) to upgrade your system is a similar process. Here are the steps:

  1. Open the "Software & Updates" application.
  2. Click on the "Updates" tab.
  3. Under "Notify me of a new Ubuntu version", change the value to "For any new version".
  4. Close the "Software & Updates" application.
  5. Open the "Software Updater" application.
  6. Click on the "Upgrade" button.
  7. Follow the on-screen instructions to complete the upgrade process.
  8. After the upgrade is complete, reboot your system.

Member

by mohammad , 4 months ago

@georgiana.senger 

If you are attempting to upgrade from an older LTS release to a new LTS release, it is recommended to upgrade to each successive LTS version along the way. For example, if you are on Ubuntu 18.04 LTS and wish to upgrade to Ubuntu 20.04 LTS, it is advised to first upgrade to Ubuntu 20.10 between those versions. This can help prevent any potential issues that may arise from skipping multiple LTS releases.


Remember to backup your important data before proceeding with a system upgrade to prevent any data loss in case of a failed upgrade process.