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

Re: apt-get "pinning"



On  0, Tom Hoover <tom-key-debian.a101e4@hisword.net> wrote:
> I'm trying to use the new "pin" feature to track woody, but allow
> installation of individual packages from sid.  My /etc/apt/preferences
> files is as follows:
> 
> Package: *
> Pin: release a=woody
> Pin-Priority: 700
> 
> Package: *
> Pin: release a=sid
> Pin-Priority: 70

I'm not certain, but:

Pin: release sid

works for me.

Tom

> "apt-get install xxx" & "apt-get -t sid install xxx" work as expected,
> but "apt-get upgrade" tries to upgrade over 300 packages on my system to
> sid.  I can remove all references to sid from my sources.list, perform
> an "apt-get update; apt-get upgrade", and it works as expected.  Am I
> misunderstanding the use of the pins?  Do they only work with "apt-get
> install", and not "apt-get upgrade"?  Or, do I have something
> misconfigured?
> 
> Thanks!
> 
> 

-- 
Tom Cook
Information Technology Services, The University of Adelaide

Do not meddle in the affairs of dragons, for you are crunchy, and taste good with ketchup.

Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au

Attachment: pgpeun7QcVhZU.pgp
Description: PGP signature


Reply to: