Updated: 28 September 2026 · Applies to: Ubuntu 20.04, 22.04, 24.04 and 26.04 LTS

Ubuntu 16.04 and 18.04 are out of standard support. Ubuntu upgrades from one LTS release to the next with do-release-upgrade: 20.04 → 22.04 → 24.04 → 26.04. You cannot skip a release.

Before you start

  • Back up the server, and make sure you have console access (on a Ucartz VPS: VNC in the VPS dashboard) in case SSH does not come back.
  • Install all updates of the current release and reboot: apt update && apt full-upgrade && reboot.
  • Remove third-party repositories (PPAs) you no longer need; the upgrader disables them anyway.

Upgrade

apt install update-manager-core
do-release-upgrade

Over SSH, the upgrader starts a second SSH server on port 1022 as a backup; open that port in your firewall for the duration. Answer the questions about changed configuration files (keeping your version is usually safest), then reboot at the end and check with lsb_release -a.

Which release will I get?

  • LTS systems are offered the next LTS only after its first point release (for example 26.04.1). If do-release-upgrade says No new release found, the upgrade path is not open yet: wait.
  • Do not use do-release-upgrade -d on servers: it upgrades to a development release.

Very old systems

From 16.04 or 18.04 you would need several upgrades in a row. A fresh install of Ubuntu 24.04 and a migration of your data is usually faster and cleaner.

Note: On a cPanel server, do not use do-release-upgrade. Use cPanel's ELevate script, which supports Ubuntu 20 → 22 and 22 → 24 (see "Upgrade from CentOS 6 to CentOS 7").

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Managed dedicated servers

our engineers look after the server for you, from $135 a month.

Was this answer helpful?

Still stuck? Open a ticket