Upgrading to Ubuntu Server 26.04 LTS gives you access to the latest Long Term Support release, including updated packages, improved security, newer hardware support, and continued maintenance from Canonical. This guide explains how to upgrade an existing Ubuntu Server 24.04 LTS installation safely while minimizing downtime.
Install all available updates before starting the release upgrade.
sudo apt update sudo apt upgrade -y sudo apt full-upgrade -y sudo apt autoremove -y sudo rebootReconnect to the server after it has restarted.
The output should show Ubuntu Server 24.04 LTS.
Confirm that /etc/update-manager/release-upgrades contains:
Prompt=ltsFollow the on-screen instructions. During the process you may be asked about configuration files. If you have not customized them, choosing the maintainer's version is usually appropriate. If you have made local changes, review each prompt carefully.
After the upgrade finishes, reboot the system.
sudo rebootConfirm that the system reports Ubuntu Server 26.04 LTS.
Make sure all packages are fully updated and that the release upgrader is configured to use LTS releases.
Remove unnecessary packages and clear the APT cache before retrying the upgrade.
sudo apt autoremove sudo apt cleanDisable unsupported third-party repositories before upgrading, then re-enable them only after confirming compatibility with Ubuntu 26.04 LTS.
Upgrading from Ubuntu Server 24.04 LTS to Ubuntu Server 26.04 LTS is straightforward when your system is fully updated and prepared. By following the steps in this guide, you can reduce the risk of downtime and ensure a smooth transition to the latest Long Term Support release.