On 02/25/2012 01:27 AM, Mark Waite wrote:

> I will need to learn how to tell some of my Debian "wheezy" machines to
> prefer the Jenkins packages from
> http://pkg.jenkins-ci.org/debian-stable/ or from
> http://pkg.jenkins-ci.org/debian/. 
>  
> Are there already pointers to directions so I can prefer one source of
> Debian packages over another?

Take a look at Apt's preferences manual [1]. This template should do the
trick:

    # all Jenkins-related packages
    Package: jenkins*
    # that came from this host
    Pin: origin pkg.jenkins-ci.org
    # adjust priority according to your requirements
    Pin-Priority: 900

[1] man apt_preferences

-- 
Mykola

http://ua.linkedin.com/in/manandbytes
https://github.com/manandbytes/

Reply via email to