Sub topic 3
Release cadence and support lifecycles
This chapter assumes you can read /etc/os-release, know that Debian and RHEL are the two package lineages, and are comfortable with apt or dnf at a basic level. It covers how often each distribution ships, how long each release gets fixes, and what that means when you plan a server's lifetime.
Why the lifecycle matters more than the version number
A server outlives the enthusiasm of the person who built it. A distribution release stops receiving security fixes on a known date. After that date you must upgrade, pay for extended support, or run an unpatched system. Choosing a distribution is mostly choosing which of those dates you can live with.
Three questions frame the comparison:
- How often does a new major release appear?
- How long does a release get security fixes, and from whom?
- What changes inside a release while it is supported?
Three different release models
Ubuntu Server: time-based releases with LTS
Canonical ships a new Ubuntu every six months, in April and October, named YY.MM (for example 24.04). Most releases are interim releases and are supported for about nine months. Every second April release is a Long Term Support (LTS) release. LTS releases are the ones used on servers.
- An LTS appears every two years: 20.04, 22.04, 24.04, 26.04.
- Standard support for the
mainrepository is five years. - Ubuntu Pro adds Expanded Security Maintenance (ESM), which extends security coverage to ten years and also covers packages in the
universerepository. A paid add-on can extend it further. Pro is free for personal use on a small number of machines. - The first point release (for example
24.04.1) arrives a few months after launch.do-release-upgradeoffers the jump from one LTS to the next only after that point release.
Interim releases (such as 25.10) exist for people who want newer software. They are rarely appropriate for a server, because you must upgrade again within nine months.
Debian: ready when it is ready
Debian has no fixed calendar. A new stable release appears roughly every two years, when the release team judges it free of release-critical bugs. Each release has a codename (bookworm is Debian 12, trixie is Debian 13).
Support comes in layers:
- Full support from the Debian security team lasts about three years from release. It ends roughly one year after the next stable release appears.
- Debian LTS adds about two more years, for five in total. It is run by a separate group of paid and volunteer contributors, and it covers a limited set of packages and architectures.
- Extended LTS (ELTS), sold by a commercial provider, can go beyond that.
Debian stable freezes versions. Within a release, packages receive security fixes and carefully selected bug fixes, but not new upstream features. A point release such as 12.5 is a collection of those accumulated updates, and it does not change the system's behaviour in a way you must plan for.
Rocky Linux: following RHEL
Rocky Linux is a community rebuild of Red Hat Enterprise Linux (RHEL). Its schedule is therefore Red Hat's schedule:
- A new major release arrives about every three years (8, 9, 10).
- Each major release is supported for ten years. The support divides into roughly five years of "full support" and five of "maintenance support", but Rocky users mostly experience this as one continuous stream of security updates.
- Minor releases (9.4, 9.5, 9.6) arrive about every six months. Unlike Debian point releases, a minor release is a real step. It can bring new package versions, drivers, and features, while Red Hat works to keep application compatibility within the major version.
Rocky is not a company product. It is supported by the Rocky Enterprise Software Foundation, and commercial support comes from third-party vendors. Its updates follow RHEL's upstream sources with a short delay.
Comparing the lifecycles
The table uses current figures at the time of writing. Check the vendors' pages before you commit to dates.
| Property | Ubuntu Server LTS | Debian stable | Rocky Linux |
|---|---|---|---|
| New major release | Every 2 years (April) | About every 2 years, no fixed date | About every 3 years |
| Standard security support | 5 years | About 3 years | About 10 years |
| Extension | Ubuntu Pro ESM up to 10 years (paid, free for small personal use) | Debian LTS to about 5 years, then paid ELTS | Included in the 10-year window |
| Minor release behaviour | Point releases are rollups | Point releases are rollups | Minor releases (9.x) change the system |
| Who provides the fixes | Canonical | Debian security team, then the LTS team | Rocky project, rebuilding RHEL |
| Direct upgrade to next major | `do-release-upgrade` | `apt full-upgrade` after changing sources | Not supported by Rocky itself; third-party tooling exists |
The diagram shows how three representative releases overlap. Dates are approximate.
What the dates hide
Support is not the same as new software
A long window means you run old software for a long time. A Rocky 9 server in its eighth year still runs the major versions of the kernel, compiler, and language runtimes that shipped at launch, with fixes backported. Red Hat and Ubuntu backport security patches into old upstream versions, so the version string stays the same while the code is patched. A scanner that checks only version numbers will report false vulnerabilities.
Debian is similar. Stable favours predictability over freshness. If your application needs a recent runtime, plan to install it separately, from a vendor repository, a container, or a language version manager.
Two tiers inside one repository on Ubuntu
Ubuntu's five-year promise covers the main repository. Packages in universe are maintained by the community and only receive guaranteed security fixes through Ubuntu Pro. On a bare server without Pro, a package from universe can sit unpatched for long periods. Check which component a package comes from before you rely on it.
Debian LTS has narrower scope
Debian LTS is real and useful, but it is not the same promise as the first three years. Some packages are excluded, and it is run separately from the main security team. If you need written commitments, a contract with an LTS or ELTS provider is more reliable than community goodwill.
Rocky's minor releases are not optional
On Rocky, dnf update moves a 9.4 system to the latest 9.x. Rocky does not maintain old minor releases the way Red Hat's paid Extended Update Support does. In practice you track the newest minor release, and test it as you would any other update. The compatibility goal within a major version is strong, but it is not absolute.
Checking where a host stands
The os-release file may contain a SUPPORT_END field, but not every distribution sets it. The script below prints what the system reports and falls back gracefully.
#!/usr/bin/env bash
# Print identity and, when present, the declared end-of-support date.
. /etc/os-release
echo "System: $PRETTY_NAME"
echo "Family: ID=$ID, ID_LIKE=${ID_LIKE:-none}"
echo "Support end: ${SUPPORT_END:-not declared in os-release}"Then use the distribution's own tools for the real answer:
# Ubuntu: which packages are covered by standard support, ESM, or neither
ubuntu-security-status
pro status
# Debian: check the installed release and its point version
cat /etc/debian_version
# Rocky Linux: confirm the minor release and look for pending updates
cat /etc/rocky-release
dnf check-updateubuntu-security-status is useful because it counts installed packages that are no longer covered, such as universe packages on a system without Pro.
Keeping a supported release patched
A supported release only helps if updates are applied. Each family has an automatic mechanism.
# Ubuntu / Debian: install and enable unattended security updates
sudo apt install unattended-upgrades
sudo dpkg-reconfigure --priority=low unattended-upgrades
# Rocky Linux: install dnf-automatic and enable its timer
sudo dnf install dnf-automatic
sudo systemctl enable --now dnf-automatic-install.timerBy default, Ubuntu's unattended-upgrades applies only security updates, while dnf-automatic applies whatever its configuration file says, and the default configuration applies all available updates. Read /etc/dnf/automatic.conf before you enable it.
Upgrading to the next major release
Upgrade effort is part of the lifecycle cost.
- Ubuntu:
do-release-upgradeperforms a supported in-place jump from one LTS to the next. It is well tested, but you must still review third-party repositories, which it disables. - Debian: Debian supports upgrading from one stable release to the next, one release at a time. You edit the APT sources to the new codename, then run
apt updateandapt full-upgrade, and you read the release notes first. Skipping a release is not supported. - Rocky: Rocky does not support in-place major upgrades itself. Many teams reinstall and migrate the data. The ELevate project provides a tool that attempts in-place 8 to 9 upgrades, and you should test it on a copy first.
Turning lifecycles into a decision
Use these rules as a starting point:
- If the system must run unchanged for as long as possible with a single vendor-style policy, Rocky's ten-year window is the longest included.
- If you want a long window, relatively fresh software, and the option to buy support, Ubuntu LTS with Pro is the most flexible.
- If you want a stable base that changes little and are comfortable planning an upgrade every three to five years, Debian stable fits well.
- If a cloud image, appliance, or application is certified for only certain releases, the certified release decides, whatever its lifecycle.
A practical habit is to put the end-of-support date in your asset inventory on the day you build a server, and to schedule the upgrade or rebuild at least six months before that date.
Exercise
A team deploys a database on Ubuntu 24.04 LTS in 2025 and has no Ubuntu Pro subscription. Three of the packages it relies on come from the universe component. What risk does the five-year support window not cover, and how can the team find it?
Show answer
The five-year standard security commitment covers the main repository only. Without Ubuntu Pro, universe packages are maintained on a community basis and may not receive security fixes in time. The team can run ubuntu-security-status to see how many installed packages are not covered, and either enable Ubuntu Pro or replace the packages with ones from main or a vendor repository.
Exercise
A Rocky Linux 9.4 host runs dnf update and reports version 9.6 afterwards. A colleague says this is an unplanned upgrade. Is it, and what should the team do differently from how they handle Debian point releases?
Show answer
It is expected. Rocky minor releases are rolling steps within the major version, and Rocky tracks the newest minor release, so dnf update moves the host forward. Unlike a Debian point release, which is only a rollup of updates, a minor release can bring new package versions and features. The team should test updates on a staging host before production and not hold a host on an old minor release.