Skip to content

How to Upgrade Ubuntu 24.04 to 26.04 LTS Without Breaking It

By Bikram Bhujel

If you've been holding off on Ubuntu 26.04 because the upgrade wasn't showing up, that wait is over. Canonical only switches on LTS-to-LTS upgrades after the first point release, and since 26.04.1 the upgrade from 24.04 is live. One of my homelab VMs already runs 26.04.

This is the upgrade the careful way: what changes in 26.04 that can bite you, how to prepare, the actual commands for desktop and server, and how to recover if the power goes halfway through. In Kathmandu, that last part isn't theoretical.

Terminal running sudo do-release-upgrade to upgrade Ubuntu 24.04 LTS to Ubuntu 26.04 LTS

Quick answer

Upgrades from Ubuntu 24.04 LTS to 26.04 LTS are enabled now that 26.04.1 is out. Back up first, make sure you have several GB free, then run sudo apt update && sudo apt upgrade, reboot if asked, and run sudo do-release-upgrade (or click Upgrade in Software Updater on desktop). Run it inside tmux on a server. The big change to know: GNOME on 26.04 no longer has an Xorg session, only Wayland. PPAs get disabled during the upgrade, so re-enable them afterwards. You can't skip versions: 22.04 must go to 24.04 first.

Is the upgrade really available?

Ubuntu only allows sequential upgrades: one LTS to the next LTS, or one interim release to the next. For LTS users the upgrade is deliberately held back until the first point release, because that's when the early bugs have been shaken out. OMG! Ubuntu reported the 24.04 to 26.04 path went live at the end of September 2026, after 26.04.1.

Check what you're on now:

lsb_release -a
cat /etc/update-manager/release-upgrades | grep Prompt

You want Prompt=lts on an LTS machine. If it says never, the upgrade will never be offered. If it says normal, you'd be offered interim releases instead.

What changes in 26.04 that can bite you

ChangeWho should care
The default GNOME desktop no longer runs on Xorg. There's no "Ubuntu on Xorg" option at loginAnyone using old screen-sharing, remote desktop or automation tools that need X11. X11 apps still run through XWayland
Recommended RAM for the desktop goes from 4 GB to 6 GB (not enforced)Older laptops. It will install, it may just feel slow
PPAs and third-party repositories are disabled during the upgradeAnyone with Docker, Chrome, VS Code or similar from outside Ubuntu's repos
New kernel (Linux 7.0 according to Ubuntu's release highlights)Anyone with out-of-tree drivers: NVIDIA, VirtualBox, some Wi-Fi cards

If you depend on an Xorg session, you have two options: switch to a desktop that still supports X11 (Xfce, MATE, Cinnamon, LXQt), or stay on 24.04, which is supported for years yet. There's no rush.

Step 1: Back up and check space

Canonical's own upgrade guide says to back up your data to external storage first, and to make sure there are several gigabytes free. On a VM, a snapshot is the easiest backup there is. On a physical machine, at minimum copy /home and /etc somewhere else.

df -h /
sudo tar czf /mnt/backup/etc-$(hostname)-$(date +%F).tar.gz /etc

Also write down what you've added from outside Ubuntu, so you know what to re-enable later:

ls /etc/apt/sources.list.d/

On a laptop, plug it in. An upgrade can take up to an hour.

Step 2: Fully update 24.04 first

sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo reboot

The reboot matters if a new kernel came in. Starting a release upgrade with a pending kernel update is asking for trouble.

Step 3: Run the upgrade

On a desktop

Open Software Updater. Once it has finished checking, it should say a new Ubuntu release is available. Click Upgrade and follow the prompts.

On a server or over SSH

Start a tmux session first, so a dropped SSH connection doesn't kill the upgrade halfway:

sudo apt install tmux
tmux new -s upgrade
sudo do-release-upgrade

When run over SSH, the upgrader offers to start an extra SSH server on port 1022 as a backup way in. Say yes if your firewall allows it. If your connection drops, reconnect and run tmux attach -t upgrade to get back to it.

The prompts you'll see

  • "Foreign Packages Installed" or a note that third-party sources are disabled: expected. Continue.
  • Config file questions (for example sshd_config): if you've edited the file yourself, keep your version. If you've never touched it, take the new one. When unsure, keep yours and compare afterwards.
  • Remove obsolete packages? Yes, usually. It takes a minute or two.
  • Restart? Yes.

Step 4: Check everything after the reboot

lsb_release -a
uname -r
systemctl --failed
ls /etc/apt/sources.list.d/

systemctl --failed should list nothing. Then re-enable the third-party sources you noted in Step 1. On desktop that's Software & Updates > Other Software (install software-properties-gtk if it's missing). For Docker, Chrome and similar, the easiest fix is usually to follow the vendor's current install instructions again for 26.04, so you get their repository line for the new release rather than the old one.

What went wrong for other people (and how to avoid it)

  • "No new release found". Either Prompt isn't set to lts, or the machine isn't fully updated. Canonical's guide also mentions sudo do-release-upgrade --devel-release, but that's for development releases and isn't supported. Don't use it on anything you care about.
  • Coming from 22.04. You can't jump straight to 26.04. Upgrade to 24.04 first, reboot, check, then do it again.
  • Remote desktop stopped working. Usually the Xorg change. Check whether your tool supports Wayland before you upgrade.
  • NVIDIA or VirtualBox modules missing after reboot. Reinstall the driver for the new kernel, or use sudo ubuntu-drivers install for NVIDIA.

What to do if the upgrade is interrupted

Power cuts happen. If the machine went off mid-upgrade, Canonical's guide gives two commands to finish it off. Boot into recovery mode or a text console if the desktop won't start, then:

sudo dpkg --configure -a
sudo apt --fix-broken install

Then run sudo apt update && sudo apt full-upgrade and reboot. If it still won't boot, that's what the backup or VM snapshot from Step 1 is for. There's no supported "downgrade" from 26.04 to 24.04, so the snapshot is your rollback.

A few things I learned

  • Snapshot VMs, always. On Proxmox it takes seconds and turns a scary upgrade into a ten-second rollback.
  • tmux before do-release-upgrade. Wi-Fi drops are exactly when you don't want an SSH session to die.
  • Read the Xorg change before upgrading a desktop. It's the one change in 26.04 that can't be fixed with a package.
  • There's no prize for upgrading on day one. 24.04 is still supported. If a machine is working and hard to reach, it can wait.

If you're new to Ubuntu, my older post on getting comfortable with Ubuntu is a good start, and running Linux on Windows without WSL covers trying it without a spare machine. The rest of my home setup, including the VMs that run Ubuntu, is in Homelab Intelligence. If you need servers upgraded without the drama, my IT services cover that.

Frequently asked questions

Can I upgrade Ubuntu 24.04 to 26.04 now?

Yes. Canonical enables LTS to LTS upgrades after the first point release, and since 26.04.1 the upgrade from 24.04 is available. Fully update 24.04, reboot, then run sudo do-release-upgrade or click Upgrade in Software Updater.

Why does do-release-upgrade say no new release found?

Check that Prompt is set to lts in /etc/update-manager/release-upgrades and that every update is installed. If Prompt is never, upgrades are disabled. Do not use the devel-release option on a machine you care about.

Can I upgrade Ubuntu 22.04 directly to 26.04?

No. Ubuntu only supports upgrading one LTS at a time. Upgrade 22.04 to 24.04 first, reboot and check everything works, then upgrade 24.04 to 26.04.

Does Ubuntu 26.04 still support Xorg?

The default GNOME desktop no longer runs on Xorg in 26.04, so there is no Ubuntu on Xorg login option. X11 apps still work through XWayland. Desktops such as Xfce, MATE, Cinnamon and LXQt can still use X11.

What do I do if my Ubuntu upgrade was interrupted?

Boot to a console or recovery mode and run sudo dpkg --configure -a, then sudo apt --fix-broken install, then sudo apt full-upgrade. If the system still fails, restore from your backup or VM snapshot, because there is no supported downgrade.

Comments

Questions and corrections are welcome. I read every comment before it appears, and remove spam and promotional links.