+++ /dev/null
-deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
-deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
-deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
-deb http://ftp.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
--- /dev/null
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian.list
+Suites: bookworm bookworm-updates bookworm-backports
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian-security.list
+Suites: bookworm-security
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+++ /dev/null
-deb http://deb.debian.org/debian testing main contrib non-free non-free-firmware
-deb http://security.debian.org/debian-security testing-security main contrib non-free non-free-firmware
--- /dev/null
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian.list
+Suites: testing
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian-security.list
+Suites: testing-security
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+++ /dev/null
-deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
-deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
-deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
-deb http://ftp.debian.org/debian trixie-backports main contrib non-free non-free-firmware
--- /dev/null
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian.list
+Suites: trixie trixie-updates trixie-backports
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
+
+Types: deb deb-src
+URIs: mirror+file:///etc/apt/mirrors/debian-security.list
+Suites: trixie-security
+Components: main contrib non-free non-free-non-free-firmware
+Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
cp "${PATH_CONF_MIN_DEPS}" "${PATH_ETC_APT_CONF}/"
apt_update_to_full_upgrade
-PATH_CONF_SOURCES="${PATH_COPY_TAG}${PATH_ETC_APT}/sources.list"
+PATH_CONF_SOURCES="${PATH_COPY_TAG}${PATH_ETC_APT}/sources.list.d/debian.sources"
prefixed_msg "Copying over ${PATH_CONF_SOURCES} …"
cp "${PATH_CONF_SOURCES}" "${PATH_ETC_APT}/"
apt_update_to_full_upgrade