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