-
-
Save hakerdefo/1599cb664cc3c2f125a45248d9c6c71d to your computer and use it in GitHub Desktop.
| 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 |
@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
@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
And should
security.debian.orgalso 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.
Thanks, @technikamateur
I really like this gist and use it as a base for all testing installations.
It would be worth updating it to deb822 (https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT).
According to the manpage, the one-line-style format is deprecated and may eventually be removed (not before 2029).
# apt update --audit
already suggests to update to the new format.
# apt modernize-sources
will automatically update to the new format
@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.