{{tag>howto debian update bullseye bookworm}}
====== Debian update bullseye to bookworm ======
* https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html
* https://www.cyberciti.biz/faq/update-upgrade-debian-11-to-debian-12-bookworm/
apt update && apt -y upgrade && apt -y dist-upgrade && apt -y full-upgrade && apt -y autoremove
vim /etc/apt/sources.list
# deb cdrom:[Official Debian GNU/Linux Live 11.6.0 kde 2022-12-17T13:13]/ bullseye main
# deb cdrom:[Official Debian GNU/Linux Live 11.6.0 kde 2022-12-17T13:13]/ bullseye main
deb http://ftp.fau.de/debian/ bookworm main contrib non-free-firmware
deb-src http://ftp.fau.de/debian/ bookworm main contrib non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main
deb-src http://security.debian.org/debian-security bookworm-security main
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://ftp.fau.de/debian/ bookworm-updates main
deb-src http://ftp.fau.de/debian/ bookworm-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
apt update
apt upgrade --without-new-pkgs
apt full-upgrade
----
~~DISCUSSION~~