Debian12(Bookworm)がリリースされて1ヶ月以上経ったので、自分もDebian12に移行しました。それに伴い、aptに使用するsources.listを少し修正しました。
/etc/apt/sources.list (Debian 12)
# Security updates deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware # Stable repository deb http://ftp.riken.jp/Linux/debian/debian bookworm main contrib non-free non-free-firmware deb-src http://ftp.riken.jp/Linux/debian/debian bookworm main contrib non-free non-free-firmware # Stable updates deb http://ftp.riken.jp/Linux/debian/debian bookworm-updates main contrib non-free non-free-firmware deb-src http://ftp.riken.jp/Linux/debian/debian bookworm-updates main contrib non-free non-free-firmware # Stable backports deb http://ftp.riken.jp/Linux/debian/debian bookworm-backports main contrib non-free non-free-firmware deb-src http://ftp.riken.jp/Linux/debian/debian bookworm-backports main contrib non-free non-free-firmware
変更点
Debian12リリース前は、上記sources.listにある non-free-firmware がありませんでした。Debian 12になってから、従来 non-free だったものが、non-free と non-free-firmware に分割されたようです。
少し迷ったこと
Security updatesのURLについて少し迷いました。といいますのも、以下の2つのページに載っていた記述例が少し違っていたからです。
(1) https://www.debian.org/security/index.html
(2) https://wiki.debian.org/SourcesList
(1)の方に載っていた記述例
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
(2)の方に載っていた記述例
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free
(1)ではsecurity.debian.org、(2)ではdeb.debian.orgとなっていますね。
何となく誰でも編集できるWikiよりは(1)の情報に従っておこうと思い、(1)の記述例を踏襲しました(ちなみに、両方のリポジトリを見ましたが、素人目には同じように見えました)。