Update existing packages and reboot the Debian 11 system.
Edit the file /etc/apt/sources.list
Code: Select all
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
sudo apt update
Prepare for the operating system minimal system upgrade, run:
sudo apt upgrade --without-new-pkgs
Finally, update Debian 11 to Debian 12 Bookworm by running:
sudo apt full-upgrade
Reboot the Linux system so that you can boot into Debian 12 Bookworm
Verify that everything is working correctly.
Possible issues:-
Certificates error using localised debian servers try changing https to http in sources.list or, try adding 'deb [trusted=yes] http://blahblah...'