Re: Apt configuration - As Stable As Possible
Hey,
Thank you for your reply Sven, and sorry for the belated response.
Here is my setup now:
sources.list
```
# stable
deb https://deb.debian.org/debian/ bookworm main contrib
non-free-firmware non-free
deb-src https://deb.debian.org/debian/ bookworm main contrib
non-free-firmware non-free
deb https://security.debian.org/debian-security/ bookworm-security
main contrib non-free-firmware non-free
deb-src https://security.debian.org/debian-security/
bookworm-security main contrib non-free-firmware non-free
deb https://deb.debian.org/debian/ bookworm-updates main contrib
non-free-firmware non-free
deb-src https://deb.debian.org/debian/ bookworm-updates main contrib
non-free-firmware non-free
deb http://deb.debian.org/debian/ bookworm-backports main contrib
non-free-firmware non-free
deb-src http://deb.debian.org/debian/ bookworm-backports main
contrib non-free-firmware non-free
# testing
deb https://deb.debian.org/debian/ trixie main contrib
non-free-firmware non-free
deb-src https://deb.debian.org/debian/ trixie main contrib
non-free-firmware non-free
deb https://security.debian.org/debian-security/ trixie-security
main contrib non-free-firmware non-free
deb-src https://security.debian.org/debian-security/ trixie-security
main contrib non-free-firmware non-free
deb https://deb.debian.org/debian/ trixie-updates main contrib
non-free-firmware non-free
deb-src https://deb.debian.org/debian/ trixie-updates main contrib
non-free-firmware non-free
deb http://deb.debian.org/debian/ trixie-backports main contrib
non-free-firmware non-free
deb-src http://deb.debian.org/debian/ trixie-backports main contrib
non-free-firmware non-free
# unstable
deb https://deb.debian.org/debian/ sid main contrib non-free-firmware non-free
deb-src https://deb.debian.org/debian/ sid main contrib
non-free-firmware non-free
# experimental
deb https://deb.debian.org/debian/ experimental main contrib
non-free-firmware non-free
deb-src https://deb.debian.org/debian/ experimental main contrib
non-free-firmware non-free
```
(let him who is without bluetooth be the first to judge me for non-free)
sources.pref
```
# stable
Package: *
Pin: release o=Debian Backports, n=bookworm-backports
Pin-Priority: 502
Package: *
Pin: release o=Debian, n=bookworm*
Pin-Priority: 501
# testing
Package: *
Pin: release o=Debian, n=trixie*
Pin-Priority: 102
# unstable
Package: *
Pin: release o=Debian, n=sid*
Pin-Priority: 1
Package: *
Pin: release o=Debian, a=experimental
Pin-Priority: -1
```
This seems to work exactly as I want, but I feel like my preferences
setup is not ideal. Repeating "Debian" every time, the wildcards, the
codenames (I already have them "locked in" via sources.list). Any
advice on how to clean it up nicely? Also, do I need to make special
pin-priority accommodations for the security releases?
Thanks
Reply to: