[plug] Debian testing/unstable

Bernard Blackham bernard at blackham.com.au
Sat Jun 19 18:21:59 WST 2004


On Sat, Jun 19, 2004 at 10:59:47AM +1000, Onno Benschop wrote:
> Silly question I suspect, but I'm running Debian testing. I also have
> the unstable sources in my sources.list because some packages need to
> come from there because they depend on crap that I don't use.
> 
> When I update my packages list followed by apt-get upgrade, I now seem
> to get a whole lot of unstable packages with urgency=low that want to be
> installed.
> 
> I do not want this behaviour. I want to use *only* testing, except for
> when I specifically ask for an unstable package, and only for the time
> that I ask for it, not for updates or anything else.
> 
> How do I achieve this?

The magic lines you require in /etc/apt/preferences are:

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

man preferences will tell you more and may confuse you completely
(it has done to me several times), but the above is the essential
bit :)

HTH,

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list