So, today I learned that Debian has an alternative format for apt sources.
After today's upgrade I noticed a new print in apt update output, mentioning deb8221 style for
storing apt sources.
Update 30/01/2025:
With another update apt can now migrate the .list files to .sources format:
apt modernize-sources
For my own reference, this is how it looks like for repositories I use on my siduction2
installation:
/etc/apt/sources.list.d/debian.sources:
Components: main contrib non-free non-free-firmware Enabled: yes Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Suites: unstable rc-buggy Types: deb URIs: https://deb.debian.org/debian/
/etc/apt/sources.list.d/mozilla.sources:
Components: main Enabled: yes Signed-By: /etc/apt/keyrings/packages.mozilla.org.asc Suites: mozilla Types: deb URIs: https://packages.mozilla.org/apt/
/etc/apt/sources.list.d/microsoft-edge.sources:
Components: main Enabled: yes Signed-By: /etc/apt/trusted.gpg.d/microsoft-edge.gpg Suites: stable Types: deb URIs: http://packages.microsoft.com/repos/edge/
/etc/apt/sources.list.d/siduction-extra.sources:
Components: main Enabled: yes Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg Suites: unstable Types: deb URIs: https://packages.siduction.org/extra/
/etc/apt/sources.list.d/siduction-fixes.sources:
Components: main contrib non-free Enabled: yes Signed-By: /usr/share/keyrings/siduction-archive-keyring.gpg Suites: unstable Types: deb URIs: https://packages.siduction.org/fixes/
/etc/apt/sources.list.d/syncthing.sources:
Components: stable Enabled: yes Signed-By: /usr/local/share/keyrings/syncthing-archive-keyring.gpg Suites: syncthing Types: deb URIs: https://apt.syncthing.net/
In the future I should probably adjust to recommendation for keyrings' storage:
The recommended locations for keyrings are /usr/share/keyrings for keyrings managed by packages, and /etc/apt/keyrings for keyrings managed by the system operator.