How to edit the /etc/apt/sources.list file

The file sources.list is located at /etc/apt/sources.list in any modern debian system. Any debian-based distribution may use the same file eventually.

Debian GNU/Linux etch
You should replace YC with your country code like: us, en, fr, etc....


 * 1) Uncomment the deb-src line if you want 'apt-get source'

deb ftp://ftp.YC.debian.org/debian/ /etch main
 * 1) the main Debian packages.
 * 1) deb-src ftp://ftp.YC.debian.org/debian/ /etch main

deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free
 * 1) security (important)
 * 1) deb-src http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

deb ftp://ftp.YC.debian.org/debian/ /etch non-free contrib
 * 1) non-free in Debian and contrib in Debian
 * 1) deb-src ftp://ftp.YC.debian.org/debian/ /etch non-free contrib


 * 1) non-free codecs
 * 2) deb ftp://ftp.nerim.net/debian-marillat/ testing main


 * K3b
 * 1) deb http://www.planet-moll.de/debian sarge main

Related guides

 * APT Advanced Packaging Tool (What is there about)
 * Debian (What is there about)