On Tue, 27 Jan 2009 14:17:57 +0000
Andrew Williams <[email protected]> wrote:

> Accordingly a pin priority of 1001 will override anything in lower
> order repos, unless you specify the repo during install. It'll even
> downgrade apps:
> 
> say you have 1.1 installed from intrepid, and #! has 1.0, it'll remove
> 1.1 in favour of 1.1
> 
> http://wiki.debian.org/AptPinning
> 
> >From the hands of the creators :D
> 

I have just been reading a bit more about it in the manual (man
apt_preferences). Agreed, a pin priority of 1001 should do the trick, I
have run some tests with the following and it seems to work okay.

--
Package: *
Pin: release a=8.10.xx
Pin-Priority: 1001

Package: *
Pin: release a=intrepid
Pin-Priority: 100
--

I will try to do some more testing, but I think you nailed it. :)
Thanks for chirping in on this, my original idea of prefixing with 666
may have proved to be somewhat devilish :D

--
Philip

_______________________________________________
Mailing list: https://launchpad.net/~crunchbangers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~crunchbangers
More help   : https://help.launchpad.net/ListHelp

Reply via email to