On Mon, 2009-03-30 at 11:00 +0000, Bailey, Darragh wrote:
>> Is there a way to pin packages with yum similar to the idea with apt? or force a preference order for repositories, irraspective of the versions of the packages available?
>> I'd like to include additional repositories such as dag, for some additional packages that some build systems that I manage may require.
>> Example of what I want:
> Install new packages from Base or Updates if available, and install from there even if version is lower than what is present in the additional repos
> If new package not in Base or Updates, then search additional repo's
> Update only from updates repo if current package matches what is in Base or Updates
> Otherwise update from additional repos
I've used the following to do similar :
Though, ended up using includepkgs & exclude in the repo files instead, as found it caused less problems.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!