Update Debian 11 (Bullseye) to Debian 12 (Bookworm)

Moki Lv6

Prepare:

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

Update APT:

1
sed -i 's/bullseye/bookworm/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 -qqy

Reboot:

1
reboot
On this page
Update Debian 11 (Bullseye) to Debian 12 (Bookworm)