Flexion.Org
Bad grammar and typos for total strangers
Wiki › Debian Etch Repository Configuration
Wiki Index All Recent Edit Bottom

Debian Etch Repository Configuration

1.   Debian Etch Repositories
1.1   Official Debian Repositories
1.2   Debian Volatile
1.3   Debian Backports
1.4   Debian Cihar
1.5   Debian Multimedia

Debian Etch Repositories

I use a mixed repo, with stable being the default but should I need a package from testing or backports I can dip in as required. Installing a package from testing is simply a matter of..

 apt-get -t install packagename

...or packages from backports can be installed via...

 apt-get -t etch-backports install packagename

I also use the volatile repository so I can stay up to date with the latest anti virus and anti spam packages.

Official Debian Repositories

As root, do the following...

 echo 'APT::Default-Release "stable";' >> /etc/apt/apt.conf

Now edit '/etc/apt/sources.list'

 vi /etc/apt/sources.list

Sample

 # Stable
 deb http://ftp.uk.debian.org/debian/ etch main contrib non-free
 deb-src http://ftp.uk.debian.org/debian/ etch main contrib non-free
   
 deb http://security.debian.org/ etch/updates main contrib non-free
 deb-src http://security.debian.org/ etch/updates main contrib non-free
  
 # Testing
 deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
 deb-src http://ftp.uk.debian.org/debian/ testing main contrib non-free
    
 deb http://security.debian.org/ testing/updates main contrib non-free
 deb-src http://security.debian.org/ testing/updates main contrib non-free

Debian Volatile

 vi /etc/apt/sources.list.d/volatile.list

Sample

 # Volatile - http://www.debian.org/volatile/
 deb http://ftp.uk.debian.org/debian-volatile etch/volatile main contrib  non-free
 deb-src http://ftp.uk.debian.org/debian-volatile etch/volatile main contrib non-free

Now get update the key for the volatile repository.

 wget -q http://www.debian.org/volatile/etch-volatile.asc -O- | apt-key add - 

Debian Backports

 vi /etc/apt/sources.list.d/backports.list

Sample

 # Backports - http://www.backports.org/
 deb http://www.backports.org/debian etch-backports main contrib non-free
 deb-src http://www.backports.org/debian etch-backports main contrib non-free

Now get update the key for the backports repository.

 wget -q http://backports.org/debian/archive.key -O- | apt-key add -

Debian Cihar

I really only use this repo to get at a newer ejabberd version and the Python AIM transport.

 vi /etc/apt/sources.list.d/cihar.list

Sample

 # Cihar - http://debian.cihar.com/
 deb http://debian.cihar.com/ unstable main contrib non-free
 deb-src http://debian.cihar.com/ unstable main contrib non-free

Now get update the key for the Cihar repository.

 gpg --keyserver subkeys.pgp.net --recv-key E64A2AA53714DD6A && gpg -a --export E64A2AA53714DD6A | apt-key add - 

Debian Multimedia

Sometimes I use Debian to build and/or test various multimedia applications, such as MythTV or SlimServer. During such time, the Debian Multimedia repository is invaluable.

 echo 'deb http://debian-multimedia.fx-services.com/ stable main
 deb-src http://debian-multimedia.fx-services.com/ stable main' > /etc/apt/sources.list.d/multimedia.list

Update the repositories

 apt-get update

Now get update the key for the multimedia repository.

 apt-get install debian-multimedia-keyring

References

$Id: DebianEtchRepositoryConfiguration,v 1.16 2008/01/04 11:01:04 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker