« Build a kernel 2.6Linux and 4096-Byte Sector Hard Drives »

APT configuration files

18.03.10

Permalink 12:24:21 pm, by mazet Email , 96 words   English (US) latin1
Categories: Systeme, Debian

APT configuration files

Usually, I set those 3 files to configure a Debian testing:

/etc/apt/sources.list

# stable
deb http://ftp.fr.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ stable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main non-free contrib

# testing
deb http://ftp.fr.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main non-free contrib

# unstable
deb http://ftp.fr.debian.org/debian/ unstable main non-free contrib

/etc/apt/preferences

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

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

Package: *
Pin: release a=stable
Pin-Priority: 800

/etc/apt/apt.conf

APT::Default-Release "lenny";
APT::Cache-Limit "141943904";
Apt::Get::Purge;
APT::Clean-Installed;
APT::Get::Fix-Broken;
APT::Get::Fix-Missing;
APT::Get::Show-Upgraded "true";
APT::Force-LoopBreak=true;
APT::Get::AllowUnauthenticated 1;