sources.list is the file that tells your Debian/Ubuntu where to search for software.
The file is located in
/etc/apt/sources.list , or might be split in multiple files stored in
/etc/apt/sources.list.d/ . The format is
TYPE LOCATION DIST COMPONENTS
The definition for these sections are:
- deb or deb-src
- The link to the repository
- Distribution you are using
- List of components
An example of such an entry is:
deb http://ftp.de.debian.org/debian/ sid main contrib restricted universe multiverse non-free
The tools apt-get|aptitude|synaptic|SoftwareCenter (or whatever you like to install software) will look at these files to search for updates and new packages.
Some entries for Debian unstable
Here are some entries from my configuration that might be of interest. I’m using Debian:unstable.
Aptosid is a Debian fork, based on unstable:
GRML is based on Debian:unstable, and comes with some special tools for sysadmins and text tools users:
If you want to use Opera:
For those of you interested in the GNU R-Project:
Not sure if anybody but me cares about it..
For some repository you need to have special GPG keys in your keyring, otherwise you’ll see an error such as:
In that case you can usually add these keys to your keyring by executing the following to command:
Just replace the contents of the
$key variable with the corresponding key id.