On 2004-02-05, Philipp Weis penned: > 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 > > Oops. I'd only seen pinning in terms of distributions, so I didn't bother to RTFM. Thank you for the answer!
-- monique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]