Sources.list
This is my /etc/apt/sources.list which grew during the past few years. Maybe it'll be helpful for you.
With this sources.list you'll get this additional software (and more) for Debian GNU/Linux:
- Several multimedia packages as well as Adobe Reader and Flashplayer from Marillat
- The latest official versions from Opera and VirtualBox
- Sun Java 6 for Etch
- OpenOffice.org 2.3 for Etch and 3.2 for Lenny; LibreOffice for Squeeze
- Iceweasel 3.5.x for Lenny
- The latest official WINE version (needed for e.g. the older Windows Notes Client) for Etch
You should – of course – use a Debian mirror that is not too far away from you ;) The examples below are the mirrors in the Netherlands, close to me.
Contents |
Squeeze
I no longer make a difference for the amd64 and i386 files as Skype has no repository anymore anyway!
Because Mozilla moved to a fast release scheme, neither Debian nor the Backports seem to keep track. Meanwhile I use the instructions from http://mozilla.debian.net/ to install Iceweasel 4 or newer.
Pinning
Pinning is no longer necessary in Squeeze!
sources.list
# Main Sources deb http://ftp.nl.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.nl.debian.org/debian/ squeeze main contrib non-free # Security Updates deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free # Software Updates deb http://ftp.nl.debian.org/debian/ squeeze-updates main contrib non-free deb-src http://ftp.nl.debian.org/debian/ squeeze-updates main contrib non-free deb http://ftp.nl.debian.org/debian/ squeeze-proposed-updates main contrib non-free deb-src http://ftp.nl.debian.org/debian/ squeeze-proposed-updates main contrib non-free deb http://ftp.nl.debian.org/backports.org/ squeeze-backports main contrib non-free # Unofficial Packages deb http://www.debian-multimedia.org squeeze main non-free # Marillat deb http://mozilla.debian.net/ squeeze-backports iceweasel-release # Firefox deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free # VirtualBox deb http://deb.opera.com/opera/ squeeze non-free # Opera # Importing GPG keys for APT ############################ # # Marillat apt-get install debian-multimedia-keyring # Iceweasel wget -O- -q http://mozilla.debian.net/archive.asc|apt-key add - # VirtualBox wget -O- -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|apt-key add - # Opera wget -O- -q http://deb.opera.com/archive.key|apt-key add -
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 'squeeze-updates' repository (this one replaces 'volatile')! And for firmware files (sometimes necessary in servers) you should add the "non-free" section as well.
# Main Sources deb http://ftp.nl.debian.org/debian/ squeeze main # (Security) Updates deb http://security.debian.org/ squeeze/updates main #deb http://ftp.nl.debian.org/debian/ squeeze-updates main
Lenny
The main difference between the amd64- and i386-lists is – as you may have noticed – the lack of the Skype repository on amd64.
It is nevertheless possible to install Skype on amd64, that is discussed elsewhere.
Pinning
When using the Backports.org repositories, you might want to use pinning. Usually no package from backports gets installed automatically, but you have to install the packages you want manually.
Pinning takes care of the necessary updates if a new version of an installed package appears in the backported packages. Otherwise you'll need to install the update manually as well.
Just create the file /etc/apt/preferences if it doesn't exist and add these lines:
Package: * Pin: release a=lenny-backports Pin-Priority: 200
amd64
# Main Sources deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.nl.debian.org/debian/ lenny main contrib non-free # Security Updates deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free # Software Updates deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://ftp.nl.debian.org/debian/ lenny-proposed-updates main contrib non-free deb-src http://ftp.nl.debian.org/debian/ lenny-proposed-updates main contrib non-free deb http://ftp.nl.debian.org/backports.org/ lenny-backports main contrib non-free # Unofficial Packages deb http://www.debian-multimedia.org lenny main non-free # Marillat deb http://deb.opera.com/opera/ lenny non-free # Opera deb http://download.virtualbox.org/virtualbox/debian lenny non-free # VirtualBox # Importing GPG keys for APT ############################ # # Marillat gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907; gpg --armor --export 1F41B907|apt-key add - # Opera wget -O - http://deb.opera.com/archive.key|apt-key add - # Backports wget -O - http://ftp.nl.debian.org/backports.org/archive.key|apt-key add - # VirtualBox wget -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|apt-key add -
i386
# Main Sources deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.nl.debian.org/debian/ lenny main contrib non-free # Security Updates deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free # Software Updates deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://ftp.nl.debian.org/debian/ lenny-proposed-updates main contrib non-free deb-src http://ftp.nl.debian.org/debian/ lenny-proposed-updates main contrib non-free deb http://ftp.nl.debian.org/backports.org/ lenny-backports main contrib non-free # Unofficial Packages deb http://www.debian-multimedia.org lenny main non-free # Marillat deb http://deb.opera.com/opera/ lenny non-free # Opera deb http://download.virtualbox.org/virtualbox/debian lenny non-free # VirtualBox deb http://download.skype.com/linux/repos/debian/ stable non-free # Skype # Importing GPG keys for APT ############################ # # Marillat gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907; gpg --armor --export 1F41B907|apt-key add - # Opera wget -O - http://deb.opera.com/archive.key|apt-key add - # Backports wget -O - http://ftp.nl.debian.org/backports.org/archive.key|apt-key add - # VirtualBox wget -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|apt-key add -
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:
# Main Sources deb http://ftp.nl.debian.org/debian/ lenny main # Security Updates deb http://security.debian.org/ lenny/updates main # Volatile only if you use fast-moving packages (like ClamAV) #deb http://volatile.debian.org/debian-volatile lenny/volatile main
Etch
Currently you shouldn't use Etch anymore for there are no more security updates. The following sources.list can be used anyway, it contains all security updates that were available for Etch.
# Main Sources deb ftp://ftp.XX.debian.org/debian-archive/ etch main contrib non-free