OK guys - yum is "too smart"

Phil Schaffner P.R.Schaffner at IEEE.org
Sat Aug 13 02:45:14 UTC 2005


On Fri, 2005-08-12 at 18:43 -0700, jdow wrote:
> From: "Claude Jones" <claude_jones at levitjames.com>
> 
> > On Friday 12 August 2005 6:00 pm, jdow wrote:
> >> I am involved, to a slight degree, in testing spamassassin. So I cannot
> >> update spamassassin via yum. It'll break my system badly. I have it
> >> installed via other means.

By "other means" do you mean as a tarball-build, or otherwise not an RPM
package?

> >>
> >> So how do I exclude spamassassin from the update and force the update for
> >> evolution which should be perfectly happy with the spamassassin I have
> >> installed?
> >>
> >> {^_^}
> > Did you try this?
> > yum --exclude=spamassassin update
> >>From "man yum" (if you want more details)  Exclude a specific package by 
> >>name
> > or glob from updates on all repositories.
> 
> Yeah, but then I also have to exclude evolution. There should be a way to
> force things to be "my way". {^_-}

Doesn't sound easy.  How about this?  Evolution requires spamassassin,
but no particular version.  You could perhaps package your version of
spamassassin as an RPM (assuming it is not already), giving it a higher
version # (or perhaps epoch) than the FC version, and put it in a local
yum repo.  That would make yum happy about your spamassassin but let it
update evolution.  Here's my repo entry for such a setup:

[prs at tabb1 ~]$ cat /etc/yum.repos.d/local.repo
[local]
name=Local YUM Repository
baseurl=file:/usr/local/fedora/$releasever/local/$basearch/
enabled=1
gpgcheck=0

Phil







More information about the fedora-list mailing list