Re: Yum + priorities plugin question

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



Matt Hyclak wrote:
On Wed, May 07, 2008 at 07:54:11AM -0700, jleaver+centos@xxxxxxxxxxxx enlightened us:
I've recently started using the priorities plugin as part of my best
practices.  It's very effective, and prevents nasty things from
happening (like atrpms upgrading python and disabling yum.)

I'm wondering if there's a simple and elegant way to allow
package-name-based exclusions.  For example:  For my mysql cluster, I'd
prefer to have the latest mysql and mysql-server packages which I can
get from utterramblings (Thanks Jason!), however, to do so while using
the priorities plugin, I'd need to make that repo an equal priority with
base, so that it'll upgrade.

I've worked around the problem by creating a duplicate repo with the
exceptions as an includepkg and a priority equal to that of base, but it
seems less than elegant, and I know it results in double the internet
traffic for the repo mirror, which is less than friendly.

Does anyone know if there's a more elegant way to deal with this issue,
or might this be an appropriate feature request for the plugin developer?


Why not just exclude mysql from the base and updates repos of your distro?
If they are not there, they don't need protected/prioritized and the other
repo will win.

Matt

Hahahaha! That's awesome, I was so busy looking at it from one angle, I never considered the other. That'll work nicely, thanks.

Jacob
_______________________________________________
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