Debian 12

Page content

Debian 12 is here !

you may find some of my Posts about Debian useful

Upgrade Script

assuming you have Debian 11.x running

cat << 'EOF' > /root/
#!/usr/bin/env bash

# set Version
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*

# Update
apt-get -y update
apt-get -y upgrade
apt-get -y dist-upgrade
apt autoclean
apt autoremove
apt --purge autoremove

# you may add/update -> /etc/apt/sources.list
# deb bookworm-security main
# deb-src bookworm-security main

exit 0

chmod u+x /root/


run the script and wait a few minutes …

Any Comments ?

sha256: 24bd83509a5e2b2bc6bb9e10fb198e9b99120028bd7f84818db5ef67cb75c94b