How to Upgrade to Ubuntu 24.04 LTS from 22.04 LTS

This tutorial demonstrates the steps for upgrading to Ubuntu 24.04 from 22.04. You can use the same steps to upgrade from any other supported Ubuntu version.
Warp Terminal

There are plenty of new features in Ubuntu 24.04 LTS. As an ardent Ubuntu user, it is normal to get excited about this new version release.

Getting 24.04 LTS when you are already using Ubuntu

Wondering how to get your hands on 24.04 as an existing Ubuntu user? There are two ways to get the new version:

  • Install Ubuntu 24.04 afresh: it deletes your existing data and applications to give you a fresh new system. You can do it with any Ubuntu version.
  • Upgrade to Ubuntu 24.04 from 22.04 or 23.10: your existing data and most of the applications remain as it is, and you get the new Ubuntu version.
Options for getting Ubuntu 22.04
Options for getting Ubuntu 24.04

You probably already know how to do a fresh installation of Ubuntu, so I am not going that way in this tutorial. Here, I’ll show you the steps for upgrading to Ubuntu 24.04 Noble Numbat from 23.10 or 22.04.

The upgrade procedure consists of three main steps:

  • Make sure that you get notified of the availability of a new version
  • Update your system: sudo apt update && sudo apt dist-upgrade

Don’t worry. I’ll discuss the steps in detail. I’ll also provide suggestions on things to look for before and after the upgrades.

Things to know about upgrading the Ubuntu version to a new release

Upgrading to Ubuntu 24.04 from 23.10 and 22.04 means that you don’t need to create a live USB of Ubuntu and do a fresh installation.

All you need is a good internet connection that can download around 1.5 GB of data. The upgrade process takes a few clicks and 30 minutes to 2 hours, depending on your internet speed.

Here are a few things you should know and keep in mind.

  • All your data and most of the application settings remain the same in the existing system. However, making a data backup on an external disk is always recommended.
  • If you choose to upgrade your Ubuntu version, you cannot downgrade it. You cannot go back to Ubuntu 22.04 or 23.10 without reinstalling it. And if you do that, you’ll have to format the disk/partition.
  • It is always a good idea to make a backup of your data before performing a major upgrade like this.
  • Please note that some PPA and external repositories you have added may not work in the newer versions.
  • All PPAs and external repositories will be disabled during the upgrade. You’ll have to re-enable them after the upgrade procedure finishes.
  • You need to have around 3-4 GB of free space on your root partition. If not, clean your disk and make some free space on Ubuntu.
  • You need a good internet connection for the upgrade procedure.
  • You may need an hour or less depending on your internet speed for the entire upgrade procedure.
  • Furthermore, you might not see the option to upgrade right after the release of a new version. Upgrades roll out in bunches, and it may take a few days before you get it. You may force an upgrade, though.

Precheck before you start the upgrade

Visual representation of upgrade path to Ubuntu 24.04
Upgrade path to Ubuntu 24.04

The upgrade to 24.04 is available from 22.04 and 23.10.

If you are using Ubuntu 20.04, you’ll have to upgrade to 22.04 first and then upgrade to 24.04. I would recommend a fresh install rather than two major version upgrades, but it is up to you to decide if you want a fresh install or not.

For any other version, you’ll have to go for a fresh installation.

Check your Ubuntu version to ensure that you are using 22.04 or 23.10:

lsb_release -a
Getting the Ubuntu release version info using lsb_release command.
Ubuntu release info

Next, you should make sure that all the crucial applications (you cannot function without) are available in the new Ubuntu version. For example, if you use a specific embroidery software for your business, and it is not available for the new release yet, you may want to hold on to the upgrade.

If you take every step carefully, please ensure that

  • You have copied the contents of the home directory to an external USB. This is optional, but could help if anything goes wrong in some unlikely cases.
  • You have a live Ubuntu USB or access to another computer so that you can do a fresh installation of Ubuntu in the unlikely event of a failed upgrade.

With that aside, let’s focus on the upgrade procedure. There are two ways to upgrade to a new version like Ubuntu 22.04, and I have shown both ways here:

  • Upgrade to Ubuntu 24.04 graphically (suitable for desktop users)
  • Upgrade to Ubuntu 24.04 via command line (suitable for servers and terminal dwellers)

I am using default Ubuntu with GNOME desktop, but the same steps should be applicable to other Ubuntu flavors such as Kubuntu, Xubuntu, etc.

Method 1: Upgrade to Ubuntu 24.04 graphically (for desktop users)

Go to Software & Updates:

Open “Software & Updates” from Ubuntu activities overview
Open “Software & Updates”

And under the Updates tab, make sure that Notify me of a new Ubuntu version is set to:

  • Any new version (if you want to upgrade to any new release).
  • Long-term support release (if you wish to upgrade to only LTS release)
On Software and Updates settings, set release notification for LTS versions
Set release notification for LTS

This will reload the Software repository cache.

Once the correct Software Sources settings are in place, open a terminal and use the command below to update the system. It may take some time, depending on your internet speed.

sudo apt update && sudo apt dist-upgrade

If you are asked to do a system restart, restart your system.

Run Update Manager so that it looks for distribution upgrades.

sudo update-manager

This will open the Software Updater, and it should notify you of the availability of Ubuntu 24.04.

Software Updater application showing 24.04 "Update is Available" notification
Showing 24.04 Update is Available

If you don’t see the availability of a new version, try running the command:

sudo update-manager -d

Obviously, click on Upgrade. The rest of the process is fairly easy. All you have to do is to follow the on-screen instructions.

It will download the release upgrade tool.

If you have some third-party repositories like PPAs configured, then these will be disabled during the upgrade process.

Third-party sources are disabled during the upgrade process
Third-party sources disabled

And then it will prepare your system for the upgrade by setting new software repositories.

Settings Software Channels during upgrade process
Settings Software Channels

And at this stage, you’ll be asked to actually upgrade your system. This is the point of no return. You cannot go back from here, so make sure you have a reliable internet. The entire process may take anywhere from 20 minutes to 90 minutes, depending on your internet speed.

Upgrade Info regarding upgraded and removed packages. Confirm to start upgrade
Upgrade Info and Confirmation

Now your system will be installing the new Ubuntu 24.04 packages.

Downloading Packages and Installing
Downloading Packages and Installing

Once the packages are downloaded and changes are calculated, the updater will warn you about the changes to the Thunderbird package. Thunderbird, from Ubuntu 24.04 onwards, will be installed as a Snap application. You don't have an alternative, so proceed with it.

Thunderbird app is now distributed as a Snap app min Ubuntu. You need to approve remove the old package and replace it with Snap version.
Thunderbird is now Snap
After Firefox, Now Thunderbird is All Set to be Snap-i-fied for Ubuntu 24.04
Ubuntu 24.04 LTS is bringing in more snaps to your way!
🚧
If the installer appears stuck and asks you to close/wait, you should select “Wait” a couple of times, and the update will continue.

If you have done any modification to systemd resolved conf file, then you will be asked to keep it or replace it with a newer one.

If systemd config is customized, either replace it with a new version or keep the customized one.
Customized Config File

If you choose to replace, then the changes you have made will be lost. So keep an eye on this section.

After some time, you’ll be asked whether you want to keep the obsolete packages from the previous Ubuntu install. I advise removing them.

Remove obsolete packages or keep them, which is not advised.
Remove obsolete packages

At this point, you have already completed the Ubuntu 24.04 upgrade process. Your system will be restarted.

After the restart, you’ll see the Ubuntu 24.04 default wallpaper.

Ubuntu 24.04 LTS Wallpapers Are Here: Don’t Miss Them!
Ubuntu 24.04 LTS collection, looks pretty!

That’s it. That’s all you needed to do to upgrade to Ubuntu 24.04 from Ubuntu 23.10 and 22.04. Enjoy Ubuntu 24.04.

Method 2: Upgrade to Ubuntu 24.04 using command line

You need to make sure that you have the update-manager-core package installed. Open a terminal and run the following command:

sudo apt install update-manager-core

Make sure that you have “Prompt” set to LTS in the file /etc/update-manager/release-upgrades.

Prompt is set to LTS
Prompt set to LTS

You should also install any pending software updates:

sudo apt update && sudo apt dist-upgrade

After this, run the following command to upgrade to Ubuntu 24.04:

sudo do-release-upgrade

This command will search for a newer Ubuntu version. If it finds a new version, it will download the files, around 1.5 GB in size, and then will ask you if you want to install those new packages. If you choose yes, your upgrade procedure starts.

As I said previously, you might not see the availability of the new version immediately. You may see “no new release found”.

No new version available notification
No new version available

Bonus Tip: Post upgrade check

Once you have upgraded successfully, you can start enjoying the new version. But don’t forget the third-party repositories that had been disabled before the Ubuntu version upgrade.

Go to Software & Updates. You’ll find that PPAs are listed with comments like “disabled during upgrade”. Tick the checkboxes to enable the PPAs.

Disabled PPAs listed on the Software and Updates application. You can enable them by using the corresponding check boxes.
Disabled PPAs

The job is not over yet. Some PPAs might not be available in the new Ubuntu version. How to know that? Just run this command in the terminal:

sudo apt update
If a PPA is not available for the current version of Ubuntu, it will show an error.
Invalid PPA Error

Do you see any error about repositories not being found for Noble, as shown in the screenshot above? If yes, you should disable the repositories it is complaining about again.

Troubleshooting: What to do if the upgrade fails for some reason

Check if you can still boot into the system and if the old system version is still available.

If not, see if you can access the recovery and boot into an older kernel.

If that too doesn’t work, it’s time to utilize the backup. Do a fresh installation of the new version and get the data back from the backup USB disk.

Upgrading is usually smooth, but no harm in being careful

For users who have Ubuntu 23.10 installed, you can follow our other tutorial here:

How to Upgrade to Ubuntu 24.04 LTS Right Now
Ubuntu 24.04 LTS ‘Noble Numbat’ is here. If you are using Ubuntu 23.10, here’s how you can upgrade to Ubuntu 24.04 LTS right away.

In case you forgot your password, this tutorial should be helpful:

How to Reset Forgotten Ubuntu Password in 2 Minutes
If you forgot your user password on Ubuntu, don’t worry. You can reset an Ubuntu password very easily. This guide explains an easy method for changing the root password on Ubuntu. The method should also be applicable to other Linux distributions.

Do you want to get the latest mainline kernel in your Ubuntu? Use this detailed guide:

Install the Latest Mainline Linux Kernel Version in Ubuntu
This article shows you how to upgrade to the latest Linux kernel in Ubuntu. There are two methods discussed. One is manually installing a new kernel and the other uses a GUI tool providing even easier way.

I don’t remember the last time the upgrade procedure failed me. However, having proper backup and contingency are signs of a mature and alert computer user.

I hope this tutorial helps you in upgrading to Ubuntu 24.04 LTS. If you face any issues or have any questions, please let me know in the comment section.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.