[Yum] Overriding yum for local versions

Leslie Satenstein lsatenstein at yahoo.com
Tue Dec 19 15:10:28 UTC 2006


There may be another approach to solving what you want to do. Have you looked at the exclusion option in rpm and in yum?

in yum.conf you can add exclude=*kernel*, *xorg*

or similar set of excludes, to a detail that you need to respect.

Then I believe you can protect your upgrades over any incoming ones from the Fedora or other web site.

Leslie

Please forgive me if I'm just blind, but I have looked and looked
without finding anything on the following subject, even though I think
it ought to be a rather common thing to do.

What I'd like to do with Yum is to "override" specific packages with
local versions. For example, I've patched screen with some Kerberos
support, and would like to use it instead of the screen in my distro's
(Fedora) repo.

If I'm not mistaken, just packaging it as an RPM and installing it
wouldn't cut it, since that would make Yum overwrite it again with
Fedora's version the next time Fedora decides to throw an upgrade at 
me,
right?

So, does anyone have any tip on how to accomplish this? It is the 
second
most important reason why I'm currently using Gentoo on most of my
systems.

Thanks for reading!

Fredrik Tolf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20061219/482e1785/attachment-0001.htm 


More information about the Yum mailing list