Update Debian 10 (Buster) to Debian 11 (Bullseye)

Moki Lv6

Prepare:

1
2
3
apt update
apt upgrade -qqy
apt dist-upgrade -qqy

Update APT:

1
2
sed -i 's/buster\/updates/bullseye-security/g' /etc/apt/sources.list && \
sed -i 's/buster/bullseye/g' /etc/apt/sources.list

Upgrade:

1
2
3
4
apt update && \
apt upgrade -qqy --without-new-pkgs && \
apt full-upgrade -qqy && \
apt --purge autoremove -yqq

Reboot:

1
reboot
On this page
Update Debian 10 (Buster) to Debian 11 (Bullseye)