Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[SID - Unstable] configuring deb822 sources

$
0
0
Crossposted from Debian discord -

just converted apt sources on three machines to deb822 format. had one where i was using `[Trusted=yes]` that failed (sonarr) and deb822 documentation doesn't cover that.

went to chatgpt and asked how to configure a source that didn't have a gpg key and it suggested `Signed-by: null` ; that threw an error so i went back to ai, told them their previous solution didn't work and asked specifically how to duplicate the `[Trusted=yes]` in deb822 format and it turned out the answer was `Trusted: yes`. got them all fixed and tested.

since the old format is gonna go away at some point i decided to set them all up today, which went without error except for sonarr refusing to update until i got the trusted: yes thing fixed.

btw, the command is `apt modernize-sources` and it does back up all your sources before creating sources in the new format. debian.sources looks like this now -

Code:

# Modernized from /etc/apt/sources.listTypes: debURIs: http://deb.debian.org/debian/Suites: unstableComponents: main  contrib non-free non-free-firmwareSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg
my commented-out deb-src entries didn't get migrated, though. easy to add to the existing debian.sources if i need to.

edit: Here's a reasonably good overview of deb822 - https://repolib.readthedocs.io/en/lates ... ormat.html

Statistics: Posted by wizard10000 — 2025-02-03 18:46 — Replies 3 — Views 92



Viewing all articles
Browse latest Browse all 3474

Trending Articles