Categories: TutorialsUbuntu

Upgrading Ubuntu 16.04 LTS to Ubuntu 26.04 LTS

If your server is still operating on Ubuntu 16.04 LTS, moving to Ubuntu 26.04 LTS is an effective way to modernize your environment. The latest Long-Term Support release includes updated software repositories, enhanced security protections, improved hardware compatibility, and continued maintenance through the LTS support lifecycle.

Before making any system changes, create a reliable backup of your data. Although many VPS hosting providers allow you to reinstall the operating system at any time, a fresh installation removes existing applications, user files, and custom configurations. A recent backup or server snapshot gives you the ability to restore your system if the upgrade does not go as planned.

The first step is to ensure your current Ubuntu 16.04 installation is fully updated. Install every available package upgrade, then reboot the server so all updates are applied.

sudo apt update
sudo apt upgrade -y
sudo reboot

After logging back into the server, remove packages that are no longer needed to reduce unnecessary dependencies and free up disk space.

sudo apt autoremove --purge

The release upgrade utility must also be available on the system. If it has not been installed already, add it using the following command:

sudo apt install update-manager-core

Once your server is fully prepared, launch the operating system upgrade.

sudo do-release-upgrade

In some cases, the upgrade tool may indicate that the target LTS release is unavailable. If you need to continue anyway, you can force the upgrade process by running:

sudo do-release-upgrade -d

During the installation, Ubuntu will download updated packages, replace older components, and prompt you to confirm configuration changes where necessary. Depending on your server’s specifications and internet connection, this process may take some time. When the upgrade finishes, restart the system to load the new kernel and services.

To verify that the installation completed successfully, display the current Ubuntu release information.

lsb_release -a

You should receive output similar to the following:

Distributor ID: Ubuntu
Description: Ubuntu 26.04 LTS
Release: 26.04
Codename: [Ubuntu 26.04 Codename]

Once the version information confirms Ubuntu 26.04 LTS, the upgrade is complete. Your server is now running the latest Long-Term Support release with updated packages, security enhancements, and access to future maintenance updates.

Ubuntu Server Admin

Recent Posts

Ubuntu MATE 26.10 Release Notes

Lo and behold 👐, Ubuntu MATE 26.10 (Stonking Stingray) is here! 🎊 We are back…

7 days ago

How to Deploy Kiwix Server on Ubuntu VPS

This article provides a guide demonstrating how to deploy Kiwix Server on Ubuntu VPS. What…

7 days ago

How to Host a Discord Bot on Ubuntu VPS

This article provides a guide demonstrating how to host a Discord bot on Ubuntu VPS.…

1 week ago

Myna speech-to-text is now available as a technology preview

A few months ago, we introduced Myna, our project to bring private, local speech-to-text dictation…

1 week ago

What’s new in security for Ubuntu 26.10?

Ubuntu 26.10 “Stonking Stingray” arrives at a time when AI tools are accelerating vulnerability discovery.…

2 weeks ago

Devpack for Rust: Zero to Rust in seconds

One of the best things about Rust is how easy it is to get started.…

2 weeks ago