Updating Ubuntu Server: apt upgrade and do-release-upgrade

VDS / VPS Servers · 19.04.2026
Updating Ubuntu Server: apt upgrade and do-release-upgrade

Updating Packages

sudo apt update
sudo apt full-upgrade -y
sudo apt autoremove -y

Upgrading Ubuntu Version (Major Upgrade)

sudo apt install update-manager-core -y
sudo screen -S upgrade
sudo do-release-upgrade

Supported Ubuntu LTS Versions

VersionSupport UntilStatus
Ubuntu 22.04 LTSApril 2027Current
Ubuntu 24.04 LTSApril 2029Latest
⚠️ Before major upgrade: Take a VPS snapshot, run only via screen/tmux — SSH disconnection will kill the upgrade process. Upgrade sequentially (20.04 → 22.04 → 24.04).
← Back to Knowledge Base Ask Support