Date: Sun, 3 Nov 2013 03:00:35 +0100 From: Michael Gmelin <freebsd@grem.de> To: Nikolai Lifanov <lifanov@mail.lifanov.com> Cc: freebsd-ports@freebsd.org Subject: Re: pkgng repository priorities Message-ID: <20131103030035.4e2fdf08@bsd64.grem.de> In-Reply-To: <826cd3ab0c12abf926b1ba9a230b8226@mail.lifanov.com> References: <826cd3ab0c12abf926b1ba9a230b8226@mail.lifanov.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 02 Nov 2013 21:44:43 -0400 Nikolai Lifanov <lifanov@mail.lifanov.com> wrote: > Is there any documentation about how to use PKGNG repository > priorities? I heard that these are available. > > Currently, I have my repository configurations like this: > 1-myrepo.conf > 2-anotherrepo.conf > 3-someotherthirdpartyrepo.conf > > This roughly prefers stuff from what appears first in asciibetical > order. > > I would like to use the official FreeBSD package sets, but to do > this, I need to always prefer a package from a local repository > (WITH_NEW_XORG, WITH_KMS) if a package is available in it. > > How can I set this kind of preference? > > - Nikolai Lifanov > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" According to pkg-repository(5): WORKING WITH MULTIPLE REPOSITORIES Where several different repositories are configured pkg will search amongst them all in the order specified, unless directed to use a single repository by the -r -flag -to pkg-fetch(8), pkg-install(8), pkg-upgrade, pkg-search or pkg-rquery. The search order is as displayed in the output of pkg -v -v -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131103030035.4e2fdf08>