Upgrade Debian 10 Buster to Debian 11 Bullseye

Backup


Backup your System or at least your data.

Update


apt update
apt -y upgrade

Repository


cat << EOF > "${BASE}/etc/apt/sources.list"
deb http://ftp.debian.org/debian/ bullseye main
deb-src http://ftp.debian.org/debian/ bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main

deb http://ftp.debian.org/debian/ bullseye-updates main
deb-src http://ftp.debian.org/debian/ bullseye-updates main
EOF

Upgrade


apt update
apt -y upgrade
apt -y full-upgrade
apt -y autoremove

Reboot


reboot

Verify


uname -r
5.10.0-8-amd64

cat /etc/debian_version
11.0

To view this entry in full, you must be a customer of Securebit AG. You can order any product from our range.

If you are already a customer, you can log in here.