Re: yum repo priority

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Alan McKay wrote:
> Hey folks,
>
> I'm setting up some kickstart files for our standard configs, and need
> to install munin-node, which of course does not come from you folks,
>
> So I set up the Dag Wieers repository but in the repo file I set it to
> "disabled" so that it will never get used by mistake.
>
> Then when adding munin-node I do :
>
> yum --enablerepo=dag -y install munin-node
>
> But that pulls in a bunch of dependencies.  And I'm not sure where it
> will pull them from.  I know that Dag has basically everything, but I
> only want to get munin-node from there.
>
> How do I ensure this happens?   I could do a hack and now that I have
> a list of dependencies I could precede the above call with another to
> add those, but keep Dag repo turned off.
>
> But I'd sooner understand more on how it works :-)
>   

Install yum-priorities and give dag a higher priority.  This will make
sure that nothing is pulled from it unless it is not available in the
main repositories.  You can use the "exclude=" setting on the base
repositories if there is something there that you would rather get
elsewhere.

-- 
Bowie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux