Skip to content

Instantly share code, notes, and snippets.

@hakerdefo
Last active January 18, 2025 10:21
Show Gist options
  • Save hakerdefo/1599cb664cc3c2f125a45248d9c6c71d to your computer and use it in GitHub Desktop.
Save hakerdefo/1599cb664cc3c2f125a45248d9c6c71d to your computer and use it in GitHub Desktop.
Debian Testing complete sources.list
deb https://ftp.debian.org/debian/ testing contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ testing contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ testing-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ testing-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ testing-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ testing-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ testing-backports contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ testing-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware
@hakerdefo
Copy link
Author

Uncomment the deb-src lines to enable source repos.

@jeffmcneill
Copy link

Is there really a testing-backports?

@hakerdefo
Copy link
Author

Is there really a testing-backports?

Of course, it is there,

https://ftp.debian.org/debian/dists/testing-backports/

@speendo
Copy link

speendo commented Oct 12, 2023

maybe it's worth changing "ftp.debian.org" to "deb.debian.org"?
https://wiki.debian.org/ftp.debian.org

@seamusdemora
Copy link

I've got, uh ... sort of an odd question re the testing branch of Debian. I was interested in an upgrade to cmus (a music player); specifically ver 2.11 that was released this past May. I thought, "Why don't I get that from Debian's testing distro - rather than d/l & build from cmus GitHub?" Poking around led me to this page. Can someone please explain why I would be interested in Bug reports from 2016? WTF use or relevance do these bug reports have w/ the 2.11 release??

@technikamateur
Copy link

technikamateur commented Nov 6, 2024

This is not recommended by Debian!

Remove, disable or comment out any other stable-specific apt sources, like *-backports or *-updates

Source: Debian Testing

@UncleSpellbinder
Copy link

UncleSpellbinder commented Dec 14, 2024

@technikamateur - Thanks for the clarification and the source. I was wondering that myself. so I've set my sources list like this...

### DEBIAN TESTING ###

deb https://deb.debian.org/debian/ testing contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ testing contrib main non-free non-free-firmware

deb https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware

@technikamateur
Copy link

technikamateur commented Dec 16, 2024

@UncleSpellbinder exactly what I have.

Just one thing to add: It's possible to use a local Debian mirror to reduce their server load for all non security sources. In addition you will get a greater download speed in most cases, since you should select the nearest mirror.

@UncleSpellbinder
Copy link

UncleSpellbinder commented Dec 16, 2024

@technikamateur So I should just change all the deb.debian.org portions of the repo in the sources list to , in my case, this: debian.uchicago.edu?

And should security.debian.org also be changed? Like this: security.debian.uchicago.edu?

So my final testing sources.list should be as follows??

### DEBIAN TESTING ###

deb https://debian.uchicago.edu/debian/ testing contrib main non-free non-free-firmware
# deb-src https://debian.uchicago.edu/debian/ testing contrib main non-free non-free-firmware

deb https://security.debian.uchicago.edu/debian-security/ testing-security contrib main non-free non-free-firmware
# deb-src https://security.debian.uchicago.edu/debian-security/ testing-security contrib main non-free non-free-firmware

@hakerdefo
Copy link
Author

@UncleSpellbinder @technikamateur

A quote from the Debian wiki,

If you are looking for a mirror, use the CDN instead.
Use http://deb.debian.org/ to connect to a CDN that caches packages on a node closest to your geographic and network location.

Source => https://wiki.debian.org/ftp.debian.org

@technikamateur
Copy link

technikamateur commented Dec 17, 2024

@UncleSpellbinder

And should security.debian.org also be changed? Like this: security.debian.uchicago.edu?

No. I explicitly wrote non security

So my final testing sources.list should be as follows??

It should/could look like this:

### DEBIAN TESTING ###

deb https://debian.uchicago.edu/debian/ testing contrib main non-free non-free-firmware
# deb-src https://debian.uchicago.edu/debian/ testing contrib main non-free non-free-firmware

deb https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ testing-security contrib main non-free non-free-firmware

Just try it out by running apt update.

@UncleSpellbinder
Copy link

Thanks, @technikamateur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment