PDA

View Full Version : Sources.list


TRN
06-01-2003, 08:05 PM
I found a great post while reading the mailing list for libranet that must be read by everyone using apt-get and pinning.

You must run a long sources.list like this one with a preferences file and an
apt.conf file or you will get undesirable results.

I am obsessively thorough. I download _two_ copies of each source. That causes
the default "dynamic MMap" to overflow and apt complains. apt.conf takes care
of that.

When you download lists from multiple archives (stable, testing, unstable),
you need the preferences file so that apt knows which version to use as a
default.

/etc/apt/apt.conf:
APT::Cache-Limit 25165824;

/etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 777

Package: *
Pin: release a=testing
Pin-Priority: 555

Package: *
Pin: release a=unstable
Pin-Priority: 333

/etc/apt/sources.list
# See sources.list(5) for more information
# modified by brm 2003-03-09
# 2003-04-10

#Libranet
deb cdrom:[Corel Linux OS Deluxe CD 1/2]/ corellinux-1.0 contrib corel main non-free
deb cdrom:[Corel Linux OS Deluxe v1.0 CD 2/2]/ corellinux-1.0 corel
deb cdrom:[Corel WordPerfect Office 2000 Linux Deluxe]/ unstable main non-free
deb cdrom:[Libranet GNU/Linux 2.8 CD2]/ archive/
deb cdrom:[Libranet GNU/Linux 2.8 CD1]/ archive/
deb http://libranetlinux.com updates/2.8/
deb http://libranetlinux.com security/2.8/

#Debian stable
deb http://debian.teleglobe.net/ stable main contrib non-free

#Debian testing
deb http://216.37.55.114/debian/ testing main contrib non-free
deb http://mirror.direct.ca/linux/debian/ testing main contrib non-free

#Debian unstable
deb http://debian.teleglobe.net/ unstable main contrib non-free
deb ftp://ftp.debian.org/debian unstable main contrib non-free

deb http://download.kde.org/stable/3.1.1/Debian stable main
# deb ftp://ftp.rutgers.edu/pub/kde/stable/3.1.2/Debian stable main
deb http://people.debian.org/~eric/debian/i386 ./
deb http://people.debian.org/~frankie/debian/woody/kalem/ /
deb http://marillat.free.fr/ stable main
deb http://marillat.free.fr/ unstable main
deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ sarge main contrib
deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ sid main contrib

#Debian Non-US stable
deb http://debian.teleglobe.net/non-US/ stable/non-US main contrib non-free

#Debian Non-US testing
deb http://debian.teleglobe.net/non-US/ testing/non-US main contrib non-free

#Debian Non-US unstable
deb http://ftp3.nrc.ca/debian-non-US/ unstable/non-US main contrib non-free
deb http://debian.teleglobe.net/non-US/ unstable/non-US main contrib non-free

#Debian security updates
deb ftp://security.debian.org/debian-security stable/updates main contrib non-free
deb ftp://security.debian.org/debian-security testing/updates main contrib non-free