DeskTux

Linux on Desktops

User Tools

Site Tools


misc:sources.list

This is an old revision of the document!


Sources.list

This is my /etc/apt/sources.list which grew and changed a lot during the past few years. Maybe it'll be helpful for you.

You should—of course—use a Debian mirror that is not too far away from you. The examples below contain the generic mirrors where you have to replace “XX” by your language/country code.

If you use a notebook, make sure to also read these instructions and enable TLP in your sources.list.

Stretch

sources.list

sources.list
### Main Sources
deb	http://ftp.XX.debian.org/debian/	stretch				main contrib non-free
 
### Security Updates
deb	http://security.debian.org/		stretch/updates			main contrib non-free
 
### Software Updates
deb	http://ftp.XX.debian.org/debian/	stretch-updates			main contrib non-free
deb	http://ftp.XX.debian.org/debian/	stretch-backports		main contrib non-free
deb	http://ftp.XX.debian.org/debian/	stretch-proposed-updates	main contrib non-free
 
### Unofficial Packages
#deb	http://www.deb-multimedia.org		stretch				main non-free		# Marillat
 
### Importing GPG keys for APT
# Marillat	apt-get install deb-multimedia-keyring

For servers

Although my page is aimed at desktop usage, please don't use the above sources.list on a server! There it should look something like this.

If you are using fast-moving packages like ClamAV you should also enable the 'stretch-updates' repository. And for firmware files (sometimes necessary on servers) you should add the “non-free” section as well.

# Main Sources
deb	http://ftp.XX.debian.org/debian/	stretch		main
 
# (Security) Updates
deb	http://security.debian.org/		stretch/updates	main
#deb	http://ftp.XX.debian.org/debian/	stretch-updates	main

Jessie

The security support for Jessie ended in june 2018, I no longer recommend to make a fresh Jessie install.

sources.list

Because of the by now very old software available in Jessie I do no longer recommend to use it on a desktop at all.

For servers

Although the official support for Jessie ended in june 2018, you can still get security support for it by adding the jessie-lts repository. However, this works only for the i386 and amd64 architectures and will be maintained until june 2020.

If you are using fast-moving packages like ClamAV you should also enable the 'jessie-updates' repository. And for firmware files (sometimes necessary on servers) you should add the “non-free” section as well.

# Main Sources
deb	http://ftp.XX.debian.org/debian/	jessie		main
 
# (Security) Updates
deb	http://security.debian.org/		jessie/updates	main
#deb	http://ftp.XX.debian.org/debian/	jessie-updates	main
deb	http://ftp.XX.debian.org/debian/	jessie-lts	main

Wheezy

Currently you shouldn't use Wheezy or older anymore for there are no more security updates. The following sources.list can be used if needed, it contains all (security) updates that were available for Wheezy.

# Main Sources
deb	http://ftp.XX.debian.org/debian-archive/debian	wheezy	main contrib non-free

Older

The sources.list for older distributions looks similar to the Wheezy list, just replace 'wheezy' with the codename of the respective release.

misc/sources.list.1549804198.txt.gz · Last modified: 2019-02-10 14:09 by jens