fuwari/src/content/posts/en/2026/02/08.md
2026-03-28 05:18:40 +09:00

1.1 KiB
Raw Blame History

title lang published description image tags category draft
Upgrade from Debian 11 Bullseye to Debian 12 Bookworm en 2026-02-08T01:39:17.588Z This guide explains how to upgrade from Debian 11 to Debian 12. Expect the upgrade to take about 2030 minutes, mostly waiting for packages to download.
Debian
Bookworm
Linux
Operating Systems false

Upgrade from Debian 11 Bullseye to Debian 12 Bookworm

Expect the upgrade to take about 2030 minutes, mostly waiting for packages to download.

Update APT sources

sudo nano /etc/apt/sources.list

Change every line that has:

bullseye main contrib non-free

to:

bookworm main contrib non-free non-free-firmware

Do this for all deb and deb-src lines. For example: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

Upgrade Debian

sudo apt update

sudo apt upgrade --without-new-pkgs

sudo apt full-ugrade

sudo apt autoremove

Reboot and Verify

Reboot:

sudo reboot

Verify:

cat /etc/os-release

You should see PRETTY_NAME="Debian GNU/Linux 12 (bookworm)".