Debian
Debian is a free and open-source operating system based on the Linux kernel, known for its stability, security, and extensive package repository. It supports multiple architectures and is widely used in servers, cloud computing, and development environments.
Community Notes
Upgrade Debian 12 to Debian 13
This is not a script but can be moved into one.
Suggestion to update manually to be able to answer the questions if needed
#pre upgrade we upgrade the system to have the latest packages
apt update
apt upgrade
apt autoclean
apt clean
sed -i ‘s/bookworm/trixie/g’ /etc/apt/sources.list
apt update
apt upgrade –without-new-pkgs
apt full-upgrade
#Reboot here!
#check if it worked!
lsb_release -a
#remove all remaining artifacts from the upgrade
apt clean
apt autoremove
#modernize (move sources.list to .sources)
apt modernize-sources
- nico_kAugust 18, 2025
Release Notes & Updates
0
Avg cadence: —
Next anticipated release: —
Updates • 0
Packaging Notes
0
Uses Advanced Package Tool (APT) for package management
Example script:
#!/bin/bash
dpkg --get-selections | grep hold | awk '{ print $1, "install" }' | dpkg --set-selections
apt update && apt full-upgrade
apt --purge autoremove
cp -v /etc/apt/sources.list /opt/sources.list.bak
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
apt update
apt upgrade --without-new-pkgs
apt full-upgrade
apt --purge autoremove
cat /etc/debian_version
cat /etc/os-release
lsb_release -a