[plug] Apt-get g++

James Devenish devenish at guild.uwa.edu.au
Tue Oct 12 17:40:20 WST 2004


In message <416BA18E.6000401 at tigris.org>
on Tue, Oct 12, 2004 at 05:19:10PM +0800, Tim White wrote:
> deb http://security.debian.org/ stable/updates main
> deb ftp://ftp.wa.au.debian.org/debian/ stable main contrib non-free
> deb ftp://ftp.wa.au.debian.org/debian/ testing main contrib non-free

Okay, the basic issue here is that all those sources contain different
versions of the *same* packages. This basically requires "conflict
resolution", and APT generally just chooses the most recent version
available. As such, it will tend to choose packages from 'testing'
instead of 'stable'. If you want perturb this by specifying a preference
for a particular older 'release' (e.g. stable), you will probably have
to look at 'pinning'. With the version of APT that comes with woody, you
could add something along these lines to /etc/apt/preferences (create
the file if it does not already exist):

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

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





More information about the plug mailing list