Debian 13 "Trixie" has been available as the stable release since August 9, 2025, with the first point release 13.1 on September 6, 2025. The new version brings important improvements in security, performance, and package support.
Preparation: what you need beforehand
A smooth upgrade starts with a few checks to avoid downtime.
Backup: Create a full server backup via our web interface – quick and easy.
Update the system: Bring Debian 12 fully up to date.
sudo apt update sudo apt full-upgrade -y sudo systemctl --failedResolve held packages: Holds can block the upgrade.
apt-mark showhold sudo apt-mark unhold <package-name> # if neededPause third-party sources: Comment out third-party repos (e.g. Docker, MariaDB).
ls -1 /etc/apt/sources.list /etc/apt/sources.list.d/* 2>/dev/null grep -Rhs "deb " /etc/apt/sources.list{,.d/*} | nlConsole access: Make sure you have SSH access secured (e.g. via IPMI). Use screen for stability.
Tip: Plan a maintenance window – a reboot is required.
Step by step: how to upgrade
Follow these steps to move safely to Trixie.
Adjust APT sources: Replace "bookworm" with "trixie".
sudo nano /etc/apt/sources.listExample content:
deb http://deb.debian.org/debian/ trixie main non-free-firmware deb http://security.debian.org/debian-security trixie-security main non-free-firmware deb http://deb.debian.org/debian/ trixie-updates main non-free-firmwareAlternatively (modern format):
sudo nano /etc/apt/sources.list.d/debian.sourcesContent:
Types: deb URIs: http://deb.debian.org/debian/ Suites: trixie trixie-updates Components: main non-free-firmware Types: deb URIs: http://security.debian.org/debian-security Suites: trixie-security Components: main non-free-firmwarePackage index and minimal upgrade:
sudo apt update sudo apt upgrade --without-new-pkgs -yStart the dist-upgrade:
sudo apt full-upgrade -yCheck configuration prompts (e.g. sshd_config) carefully.
Reboot and test:
sudo rebootAfterwards:
cat /etc/os-release uname -r systemctl --failed journalctl -p 3 -xb # error logs
Follow-up: keeping your system stable
After the upgrade, secure the system's stability.
Remove leftovers:
sudo apt autoremove --purge -y sudo dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo apt purge -yCheck services:
- Web server: PHP-FPM, modules, configurations.
- Databases: MariaDB/PostgreSQL – upgrades needed?
- Containers: Docker/Podman, networks.
- Security: fail2ban, nftables, unattended-upgrades.
Reactivate third-party sources: Only Trixie-compatible repos, then:
sudo apt update sudo apt full-upgrade -y
Note: Check the release notes for obsolete packages (e.g. fcitx4).
Pitfalls and solutions
- Third-party source conflicts: Disable them beforehand.
- Kept-back packages: Analyze with:
sudo apt -o Debug::pkgProblemResolver=yes full-upgrade - Boot problems: Regenerate GRUB/initramfs:
sudo update-initramfs -u -k all sudo update-grub - Obsolete packages: Check the list in the release notes.