Pages

27 June 2009

My latest Debian sources.list as at June-2009

My latest (27-June-2009) apt sources.list with faster mirror to repositories, and enabling multimedia related packages.

Previously I have been using the mirror site from debian.nctu.edu.tw (Taiwan) but today I discovered another nearer mirror site mirror.oscc.org.my (Malaysia), and I think it will have faster link.

We need to install the keyring for debian-multimedia.org, before the command (aptitude update) can , and the single-line command is:

wget http://debian-multimedia.org/gpgkey.pub -O - | apt-key add - && aptitude install debian-multimedia-keyring

Then you can run the below command to refresh repo list:
aptitude update

And then edit /etc/apt/sources.list and refer below for any changes.


### Begin - /etc/apt/sources.list ###

deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free


# Main (Default) mirror
# deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
# Alternative mirror (faster mirror from Taiwan)
# deb http://debian.nctu.edu.tw/debian/ lenny main contrib non-free

# Alternative mirror (faster mirror from Malaysia)
deb http://mirror.oscc.org.my/debian/ lenny main contrib non-free


# Multimedia -- should not use for production server
deb http://www.debian-multimedia.org/ lenny main


# Backports -- should not use for production server
# Running Debian-Stable somehow contain outdated packages, so Backports come in.
# Backports are recompiled packages from testing (mostly) and unstable (a few cases
# only, example, security updates). Instruction:
# aptitude -t lenny-backports install package-name
deb http://www.backports.org/debian lenny-backports main contrib non-free

### End - /etc/apt/sources.list ###

No comments:

Post a Comment