Skip to main content
Debian Upgrade
Upgrade debain11 to debain12:
- Edit the file
/etc/apt/sources.list
using a text editor and replace each instance of bullseye
with bookworm
. Next find the update line, replace keyword **bullseye-updates**
with bookworm-updates
. Finally, search the security line, replace keyword bullseye-security
with bookworm-security
- 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