Linux release lifecycles: how long Ubuntu, Debian and AlmaLinux get updates
Understand how long Ubuntu LTS, Debian stable, AlmaLinux and Rocky Linux releases receive security updates, how ESM and Debian LTS extend support, and how to check whether your server's OS is end of life.
- Beginner
- Linux VPS
- 6 min read
Every Linux release stops receiving security updates on a known date. After that date, newly found vulnerabilities stay open, and a public server becomes a target. Knowing your release's lifecycle lets you plan upgrades calmly, months in advance, instead of in a rush. This guide explains how support works for the distributions you can run on a RunRacks VPS and how to check where your server stands.
Before you start
- SSH access to your Linux VPS.
- Your distribution and version. Run
cat /etc/os-release, or see Check which Linux distribution you're running.
The dates below were correct when this guide was written. Vendors occasionally adjust them, so confirm on the official lifecycle page before you plan around a date: ubuntu.com/about/release-cycle, debian.org/releases, wiki.almalinux.org and wiki.rockylinux.org.
Key terms
- End of standard support: the vendor stops routine updates for the release.
- Extended or long-term support: a later phase with security fixes only, sometimes for fewer packages, and sometimes requiring a subscription.
- End of life (EOL): no more updates of any kind. Upgrade or reinstall before this date.
Ubuntu LTS
Ubuntu publishes a Long Term Support (LTS) release every two years in April, with version numbers such as 22.04, 24.04 and 26.04. Interim releases in between get only about nine months of support and are not a good fit for servers.
An LTS release has three phases:
- Standard security maintenance: 5 years. Free updates for the core
mainrepository. - Expanded Security Maintenance (ESM): 5 more years. Security fixes through Ubuntu Pro, which also covers the much larger
universerepository. Canonical offers a free personal Pro subscription for a limited number of machines; check Canonical's current terms for commercial use. - Legacy add-on: a paid extension beyond ESM for some releases.
At the time of writing:
- Ubuntu 22.04 LTS: standard support until 2027, ESM until 2032.
- Ubuntu 24.04 LTS: standard support until 2029, ESM until 2034.
Even during standard support, many popular packages (from universe) only get security fixes through Ubuntu Pro. Run pro security-status to see which of your packages are covered.
Debian
Debian releases a new stable version roughly every two years. Each one has two phases:
- Regular security support: about three years, by the Debian Security Team, until roughly one year after the next stable release.
- Debian LTS: about two more years, run by a volunteer and sponsored team, for a subset of packages on the main architectures. It is free and uses the normal security repository.
Together that gives about five years. Debian 12 (bookworm) moved from regular security support to Debian LTS in 2026, and LTS is planned to run until mid-2028. Debian 13 (trixie) is the current stable release. Paid Extended LTS from third parties exists beyond that, but plan to upgrade instead.
AlmaLinux and Rocky Linux
AlmaLinux and Rocky Linux follow the RHEL lifecycle, which gives each major version about ten years:
- Active support: about five years of bug fixes, security fixes and new minor releases.
- Security support: about five more years of security and critical fixes.
The end of security updates, as published by both projects:
- Version 8: May 2029.
- Version 9: May 2032.
- Version 10: May 2035.
One rule catches people out: only the latest minor release is maintained. When 9.6 is released, 9.5 stops receiving updates. Running sudo dnf upgrade regularly keeps you on the current minor release, so this happens automatically as long as you update.
For a comparison of the two, see AlmaLinux vs Rocky Linux.
Releases that are already end of life
If your server runs any of these, it is past its free support window and should be upgraded or rebuilt:
- CentOS Linux 7 and 8. Both reached end of life. Move to AlmaLinux or Rocky Linux.
- Ubuntu 18.04 and 20.04 are past standard support and need Ubuntu Pro for security fixes.
- Debian 10 and 11 are past regular security support; Debian 10's LTS has also ended.
Check whether your OS is supported
Ubuntu
pro status
pro security-statuspro status shows whether ESM is enabled. pro security-status lists packages and their coverage. On older systems, the command may be called ua instead of pro.
You can also check for an available release upgrade:
sudo do-release-upgrade -cDebian
cat /etc/debian_version
grep -r security /etc/apt/sources.list /etc/apt/sources.list.d/Compare the version with debian.org/releases. The second command confirms the security repository is configured, without which you get no security updates at all.
AlmaLinux and Rocky Linux
cat /etc/redhat-release
sudo dnf check-updateIf the minor version is behind and dnf offers updates, apply them. If the major version is past its EOL date, plan a migration.
Plan your upgrades
- Start a year ahead. Begin planning 12 months before standard support ends.
- Prefer a new server for major upgrades. Build the new release on a fresh VPS, move your data and switch over. You keep the old server as a fallback.
- If you upgrade in place, back up first. Take a full backup, then follow a tested guide such as Upgrade Ubuntu 22.04 to 24.04.
- Keep applying updates in the meantime. Automatic security updates (
unattended-upgradeson Ubuntu and Debian,dnf-automaticon AlmaLinux and Rocky) keep you patched between upgrades.
An in-place major upgrade can fail midway and leave the server unbootable. Never start one without a backup you have tested.
Check it works
You are in good shape when:
- Your release is within standard support, or ESM or LTS is active and you know its end date.
apt updateordnf check-updateruns without repository errors.- You have a calendar reminder for the next upgrade.
Troubleshooting
- `apt update` shows `404 Not Found` for your release: the release is end of life and its repositories have moved to an archive. Upgrade or reinstall.
- `pro: command not found` on Ubuntu: install the client with
sudo apt install ubuntu-pro-client, or useuaon older releases. - `dnf` fails to download metadata on an old minor release: that release moved to the vault. Run
sudo dnf upgradeto reach the current minor release. - A control panel refuses to install: it may not support your release yet, or any more. Check the vendor's list.
Next steps
- Reinstall with a newer release from the Dashboard: Reinstall the OS from the control panel.
- Ready for a fresh server? Compare Linux VPS plans.
Was this guide helpful?
Still stuck?
Ask RunRacks AI for a quick answer, or open a ticket and our team will take a look at your server.
Related guides
Getting started
Edit files with nano: a beginner's guide
Open, edit, search and save files with the nano text editor on a Linux server, including cutting and pasting lines, showing line numbers and safely editing system config files with sudo.
- Beginner
- Linux VPS
- 5 min read
Getting started
Your first hour with a new RunRacks server
A step-by-step roadmap for the first hour after your RunRacks server is delivered, from finding your login details to changing the password, updating the OS and picking your next guides.
- Beginner
- All
- 5 min read
Getting started
How to choose a server location
Pick a data center location based on where your users, broker or team are, confirm it with ping tests, and weigh the legal and latency points that come with each choice.
- Beginner
- All
- 4 min read