Post

Upgrade Ubuntu from 22.04 LTS to 24.04 LTS

Upgrade Ubuntu from 22.04 LTS to 24.04 LTS

Today, I want to use Ubuntu 24.04 for some testing. Instead of installing a new OS, I thought, why not upgrade the current Ubuntu 22.04 VM in Proxmox to 24.04? This simple guide will walk through the steps to upgrade from Ubuntu 22.04 LTS to 24.04 LTS.

Step 1: Update System

First, ensure current system is up-to-date. Open a terminal and run:

1
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y

Step 2: Install the Upgrade Tool

Install the ubuntu-release-upgrader-core package, which provides the necessary tools for upgrading:

1
sudo apt install ubuntu-release-upgrader-core

Step 3: Start the Upgrade Process

With the system updated and the upgrade tool installed, we can now begin the upgrade process. Run the following command to start upgrading:

1
sudo do-release-upgrade

Follow the on-screen prompts to complete the upgrade. The system will automatically handle the rest, including downloading the necessary packages and upgrading system to Ubuntu 24.04 LTS.

Final Steps

Once the upgrade is complete, it’s a good idea to restart the system to ensure all changes take effect:

1
sudo reboot
This post is licensed under CC BY 4.0 by the author.