How to upgrade from Ubuntu 22.04.2 LTS to Ubuntu 23.04

Upgrade your Ubuntu system from version 22.04.2 LTS to 23.04 with this step-by-step guide. Enjoy the latest features and improvements!

  1. Update your system: Before proceeding with the upgrade, make sure your current Ubuntu 22.04.2 LTS installation is up to date. Open a terminal and run the following command:

sudo apt update && sudo apt upgrade

This will update all the installed packages to their latest versions.

  1. Install the update-manager-core package: If you don't already have it installed, you'll need to install the update-manager-core package. Run the following command in the terminal:

sudo apt install update-manager-core
  1. Update the release-upgrades file: Open the release-upgrades file located in the /etc/update-manager directory using a text editor. For example:

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

In the file, make sure the Prompt value is set to "normal". If it's set to "lts", change it to "normal". Save and close the file.

  1. Start the upgrade process: Run the following command in the terminal to start the upgrade process:

sudo do-release-upgrade

This will launch the upgrade tool and begin downloading the necessary packages for the upgrade.

  1. Follow the on-screen instructions: The upgrade tool will guide you through the upgrade process. Read the instructions carefully and respond to any prompts that appear. You may be asked to confirm the upgrade, enter your password, and make decisions about package updates.

  2. Wait for the upgrade to complete: The upgrade process may take some time, depending on the speed of your internet connection and the amount of data to be downloaded. Be patient and let the upgrade process finish.

  3. Reboot your system: Once the upgrade is complete, you'll be prompted to reboot your system. Enter "y" to proceed with the reboot.

  4. Verify the upgrade: After your system restarts, open a terminal and run the following command to check your Ubuntu version:

lsb_release -a

If the output shows "Ubuntu 23.04", congratulations! You have successfully upgraded your system.