Skip to content
PatchTempo

GUIDE · DEBIAN

Debian 12 end of regular support: what to do before June 2028

Debian 12 bookworm left regular security support in July 2026 and is now in Debian LTS until 30 June 2028. Debian 11 bullseye is out of free support altogether. Here is what that means, how to check your servers, and how to reach Debian 13 without surprises.

GuidesPublished 25 November 2026

What changed in July 2026

Nothing stops working. On 12 July 2026, three years after its release, Debian 12 left regular support, and the Debian LTS team took over its security fixes from Debian's Security and Release teams (Debian). LTS runs until 30 June 2028.

Debian 12.15, released on 11 July 2026, was the last point release (Debian). Fixes still arrive through the same bookworm-security suite: a server that already follows security.debian.org gets the LTS updates without any change (Debian wiki).

LTS is run by a separate team inside Debian. How many packages it can support properly depends on the help and funding it receives (Debian wiki).

Security scanners and customer questionnaires often flag releases that are past regular support, so Debian 12 may start showing up in audits.

What LTS covers, and what it does not

  • Architectures: amd64, arm64, i386, armhf and ppc64el. Debian 12 on any other architecture stopped getting fixes in July 2026 (Debian).
  • Packages: most of the archive, but not all. A few packages are left out, and the debian-security-support package lists the ones installed on your server (Debian).
  • No more point releases: 12.15 was the last one. From now on, fixes arrive one by one as security updates.
  • Only Debian's own packages: PHP from a third-party repository, Node.js from its vendor, Docker images and anything installed by hand follow their own schedules, not Debian's.

Debian patches the versions it ships. PHP 8.2 is a good example: php.net stops fixing it on 31 December 2026 (PHP), while the php8.2 package in Debian 12 keeps getting fixes from Debian, unless check-support-status lists it as unsupported.

Check what you run

Four commands give you the Debian version, the release name, and any installed package that is outside security support:

cat /etc/debian_version
lsb_release -a
sudo apt install debian-security-support
check-support-status

A version starting with 11 is bullseye, 12 is bookworm, 13 is trixie. If lsb_release is missing, cat /etc/os-release gives the same answer. Install debian-security-support from your own release, not from a newer one (Debian wiki).

Debian 11 bullseye: out of free support

Debian 11 left regular support in August 2024, and its LTS ended on 31 August 2026. Since September 2026, Debian publishes no more security updates for it (Debian).

What remains is Extended LTS: a commercial service run by Freexian, not an official Debian project, until 30 June 2031 for amd64, i386, arm64 and armhf. It covers a subset of packages, chosen by the organisations that subscribe (Debian wiki).

A Debian 11 server has two upgrades ahead, to 12 and then to 13, so it is the first one to plan.

Stay on Debian 12, or upgrade?

OptionFixes untilWhen to choose it
Stay on Debian 12 with LTS30 June 2028To buy time when an app is tied to PHP 8.2, Python 3.11 or PostgreSQL 15. Free, on the five LTS architectures.
Upgrade to Debian 13 trixie9 August 2028, then LTS until 30 June 2030The usual choice: one well documented step, with two more years of support.
Debian 11 with Extended LTS30 June 2031Only for a server you truly cannot upgrade yet: paid, and only part of the packages.

Dates from Debian releases and the Debian 13 page. Extended LTS is also planned for Debian 12, from July 2028 to June 2033 (Debian wiki).

LTS buys time. It does not move you to a newer PHP, Python or database, so the upgrade is still waiting at the end.

One release at a time

Debian supports upgrades only from one stable release to the next: Debian 13 only from Debian 12, and Debian 12 only from Debian 11 (Debian 13 release notes, Debian 12 release notes). Skipping a release is explicitly not supported, and you should be on the latest point release before you start (Debian 13 release notes).

Many teams rebuild instead: a fresh Debian 13 server, the app deployed onto it, then the traffic switched over. It skips the release in between, and it proves that your setup notes are complete.

One case has no in-place path: a 32-bit PC (i386) server. Debian 13 has no kernel and no installer for i386, so reinstall it as amd64 (Debian 13 release notes).

The apt sources change

Each upgrade starts by pointing apt at the new release. From 11 to 12, you replace bullseye with bookworm in /etc/apt/sources.list and in /etc/apt/sources.list.d, and add the new non-free-firmware component if the server uses non-free firmware (Debian 12 release notes). The two lines that matter then read like this, the second one bringing the LTS fixes (Debian wiki):

deb http://deb.debian.org/debian/ bookworm main contrib non-free-firmware non-free
deb https://deb.debian.org/debian-security bookworm-security main contrib non-free-firmware non-free

From 12 to 13, the release notes use the newer format: a single /etc/apt/sources.list.d/debian.sources file with Suites: trixie trixie-updates, which replaces the old .list files. Remove those old files, and after the upgrade apt modernize-sources converts any that remain (Debian 13 release notes).

Remove bookworm-backports entries before the upgrade, and check that every third-party repository (PHP, Node.js, Docker, your database vendor) offers packages for the new release.

What changes in the packages

Each upgrade brings new versions of what your app depends on. From Debian's own packages:

PackageDebian 11Debian 12Debian 13
PHP7.48.28.4
Python3.93.113.13
PostgreSQL131517
MariaDB10.510.1111.8
OpenSSL1.1.13.03.5
nginx1.181.221.26

PHP: from 11 to 12 is a jump from 7.4 to 8.2, the biggest step on the way, so check your app and its framework first. From 12 to 13 it moves to 8.4. Our PHP 8.2 guide lists what usually breaks.

Python: since Debian 12, the system Python is marked as externally managed, so pip refuses to install packages into it. Use a virtual environment, or pipx for tools (Debian 12 release notes). Rebuild every virtual environment on the new version: our Python 3.10 guide lists what 3.12 and 3.13 removed.

PostgreSQL: the upgrade installs the new version, but your data stays in a cluster on the old one until you migrate it, with pg_upgradecluster or a dump and restore.

MariaDB: it cannot recover from errors across major versions, so shut it down cleanly and check its log for "Shutdown complete" before upgrading (Debian 13 release notes).

OpenSSL: each step brings a new major version, so test every outgoing connection to old internal services and partners.

Other changes in Debian 13 to check first

Debian 13's release notes list a few changes that often catch a server out:

  • /tmp lives in memory after the first reboot. An app that writes large temporary files there can run short of RAM, and the size can be changed.
  • /etc/sysctl.conf is ignored. Move your kernel settings to a file in /etc/sysctl.d.
  • Network interface names can change, and the server can lose its network after the reboot. Check with udevadm test-builtin net_setup_link before rebooting.
  • OpenSSH no longer accepts DSA keys. Replace them, for example with Ed25519. Before upgrading over SSH, update OpenSSH on Debian 12 to the version the release notes name.
  • /boot can be too small. The release notes suggest at least 768 MB, with about 300 MB free.

Upgrade steps

  1. List every server and what runs on it: the Debian version, the PHP, Python and database versions, and every third-party repository in /etc/apt/sources.list.d.
  2. Take a full backup and a snapshot, and make sure you have restored one at least once. At the very least, keep /etc, /var/lib/dpkg and /var/lib/apt/extended_states.
  3. Install the latest point release of your current version and reboot, so you start from a clean state.
  4. Try the upgrade on a copy first: a clone of the server or a staging machine with the same packages.
  5. Point the apt sources at the next release, then run apt update, apt upgrade --without-new-pkgs and apt full-upgrade, ideally inside screen or tmux. Read each question about changed configuration files instead of accepting the defaults.
  6. Reboot, turn the third-party repositories back on, check the PHP, Python and database versions, and run the app's tests. On Debian 11, repeat steps 3 to 6 to go from 12 to 13.
  7. Upgrade production in a quiet window with the snapshot ready, then watch the logs for a few days.

If you cannot upgrade in time

On Debian 12 there is time: LTS runs until 30 June 2028. Run check-support-status, write down the date you will upgrade, and keep the server and the app's own dependencies patched.

On Debian 11 the free fixes have already stopped. Either subscribe to Extended LTS for the packages you depend on, or move the app to a fresh Debian 13 server, which is often quicker than two upgrades in place. In the meantime, reduce what the server exposes to the internet.

Questions

Will my server stop working?

No. Debian 12 and Debian 11 keep running and keep the updates they already have. On Debian 12, new security fixes still arrive through LTS until 30 June 2028. On Debian 11, they stopped in September 2026.

Do I need to change anything to get the LTS fixes on Debian 12?

No, if the server already follows security.debian.org: the fixes come through the same bookworm-security suite. Check that the line is in your apt sources, and that the server runs one of the five LTS architectures.

Is Debian LTS free?

Yes, it is part of Debian. Extended LTS, which still covers Debian 11 and is planned for Debian 12 after June 2028, is a commercial service from a third party (Debian wiki).

Can I go straight from Debian 11 to Debian 13?

Not in place: you upgrade to 12 first, then to 13. To skip a step, build a fresh Debian 13 server and deploy the app onto it.

What about Debian 10 or older?

Debian 10's LTS ended on 30 June 2024 (Debian wiki). It no longer gets free fixes, so a fresh Debian 13 server is usually simpler than three upgrades in a row.

Can PatchTempo do the upgrade?

Yes. It is part of the one-off hardening upgrade: tried on a copy first, rolled out after your approval, with a snapshot to switch back to. Start with the free audit.

Sources