On 04 Feb 2004, Monique Y. Herman <[EMAIL PROTECTED]> wrote:
> Is there any way to tell my system that I only want certain packages to
> come from this source?  I guess my fear is that someone will put a
> bleeding-edge version of a package into the repository I'm using for
> other reasons, and now suddenly I'm pulling this non-official package
> into my system, rather than the one from the official debian repository.
                                                                                       
                         
You should have a look at "man apt_preferences". The pinning system is not
the most intuitive, but works quite well. Something like the following
should prevent any packages from origin y except for the package x to be
installed.
                                                                                       
                         
  Package: x
  Pin: origin y
  Pin-Priority: 999
                                                                                       
                         
  Package: *
  Pin: origin y
  Pin-Priority: -1
                                                                                       
                         
Regards,
                                                                                       
                         
Philipp
                                                                                       
                         

-- 
Philipp Weis          [EMAIL PROTECTED]
Freiburg, Germany     http://pweis.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to