-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wiki debian: tell about new deb822 forrmat? #356
Comments
What specific version of Debian do you have that has this as default? That wasn’t the default last time I checked a bookworm (Debian 12) image, I suspect it might only be on Sid (unstable), maybe becoming the default behavior on Trixie (Debian 13). |
See above: bookworm. Started with |
That deb822 format for apt sources has been around for a decade or so, but so far I've only ever encountered it on recent installs of ubuntu and derivatives thereof. Looks like they did indeed work on making that the default. I'm not aware of a similar change in the default style of the sources list on the debian end, at least for an install on actual hardware, although I admit to not really keeping track of that kind of stuff either. It's probably much easier to switch over a docker image to this style; you may want to check the docker file used to see if it somehow opts-in. As for the sab wiki, we could simply restrict ourselves to 'make sure contrib and non-free are enabled' plus 'add backport repo, install sab from that' and not bother with the specifics too much beyond giving an example or two of valid entries. Even for one-line style apt sources, there was already the choice between editing sources.list directly or adding a new file with the ".list" extension to /etc/apt/sources.list.d/; deb822 format with its ".sources" extension is yet another possibility. |
Interesting: on my fresh Ubuntu 24.04 install, your PPA is already in that deb822 format. And no manual file editing needed for that: I just followed https://sabnzbd.org/wiki/installation/install-ubuntu-repo
It would be nice if there was a tool / command to add repo's to the Debian and Ubuntu, no matter the underlying format (deb822 or not) ... I tried
IMHO docker is still difficult from CLI because of the map mapping, certainly for users who need an instruction. Even via portainer I find it more difficult than plain repo or the jcfp PPA. |
Seems there's at least some movement on that front now too, including a conversion tool and a hint at a future deprecation of the one-line format:
I don't know if apt-add-repository even supports debian at all, AFAIK it's an ubuntu tool that isn't even packaged in debian. |
pinging @jcfp ... do we need to update https://sabnzbd.org/wiki/installation/install-debian ?
Reason: https://sabnzbd.org/wiki/installation/install-debian tells to change /etc/apt/sources.list but on a fresh debian docker, that file is not there.
https://wiki.debian.org/SourcesList#:~:text=non%2Dfree%2Dfirmware-,The%20equivalent%20entry%20in%20deb822%20style,-under%20/etc/apt tells there is a different format "deb822"
So I followed
https://wiki.debian.org/SourcesList#:~:text=If%20you%20need%20the%20contrib%2C%20non%2Dfree%20and%20non%2Dfree%2Dfirmware%20components%2C%20add%20contrib%C2%A0non%2Dfree%C2%A0non%2Dfree%2Dfirmware%20after%20main.%20For%20example%2C%20for%20Debian%2012/Bookworm%3A
I changed this file like this:
... and that seems to work: I can install sabnzbdplus, including unrar-nonfree UNRAR binary version 6.21.
BTW: I assume deb822 has nothing to do with RFC822 (the format for mail messages)?
The text was updated successfully, but these errors were encountered: