debian
debian
debian upgrades
Upgrading debian from bookworm to trixie.
prep
Backup, check disk space, all the normal sysadmin stuff.
Update to the latest and greatest on the current version:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremoveupgrading
First bump the repos
sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sudo find /etc/apt/sources.list.d -name "*.list" -exec sed -i 's/bookworm/trixie/g' {} \;
sudo find /etc/apt/sources.list.d -name "*.sources" -exec sed -i 's/bookworm/trixie/g' {} \;Now start with the minimal packages
sudo apt update
sudo apt upgrade --without-new-pkgsIf that all goes well, do the full upgrade
sudo apt full-upgradeCheck that we’re on the right release and everything seems hunky dory
cat /etc/os-releaseClean up
sudo apt autoremove
sudo apt cleanReboot for good measure
sudo reboot now