Page 1 of 1

Debian 12 upgrade/repos

Posted: Sun Jun 25, 2023 11:31 pm
by zemerdon
Backup the system.

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
Update the packages index on Debian Linux, run:
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...'