Mise à jour de debian bullseye vers bookworm

Pour debian

apt update && apt upgrade -y && apt dist-upgrade -y
cat <<EOF> /etc/apt/sources.list
deb https://deb.debian.org/debian bookworm main contrib non-free-firmware
deb https://security.debian.org/debian-security bookworm-security main contrib non-free-firmware
deb https://deb.debian.org/debian bookworm-proposed-updates main contrib non-free-firmware
EOF
sed -i 's/bullseye/bookworm/' /etc/apt/sources.list.d/*
apt update && apt upgrade -y && apt dist-upgrade -y