[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing From Unstable (was: Dr. Scheme)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 11 Oct 2002 09:36, Oleg wrote:

> What's a good /etc/apt/sources.list for someone who occasionally wants to
> install from Testing and Unstable, while keeping the rest of the
> distribution Stable?

Goodness, there was a thread on exactly this topic yesterday on debian-devel!  
Someone wrote a nice howto that I won't give you because I forget the URL.

Essentially you write /etc/apt/sources.list as

deb http://mirror/debian unstable main contrib non-free
deb http://mirror/debian-non-US unstable/non-US main contrib non-free

deb http://mirror/debian testing main contrib non-free
deb http://mirror/debian-non-US testing/non-US main contrib non-free

deb http://mirror/debian stable main contrib non-free
deb http://mirror/debian-non-US stable/non-US main contrib non-free

Obviously the non-us and non-free are optional, and you may need to change the 
paths slightly depending on your mirror.

The real magic happens in the (probably new) file /etc/apt/preferences

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 500

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Hopefully the person who wrote the howto will see this message and send you 
the URL so you get a better description of why this is the way to do it.

Corrin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9pecQi5A0ZsG8x8cRAuCjAJ9DfIfA2cm6Lb9+ygRO89JdV6O4CgCeObPO
FYN2znHIhpWZc/JfIMVve2M=
=Jq13
-----END PGP SIGNATURE-----



Reply to: