[CentOS] Yum + priorities plugin question

Wed May 7 14:56:52 UTC 2008
Matt Hyclak <hyclak at math.ohiou.edu>

On Wed, May 07, 2008 at 07:54:11AM -0700, jleaver+centos at reachone.com 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 Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263