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

Re: yum and RHEL interopability issues



On Thu, Jul 22, 2004 at 11:44:33AM -0500, Ed Wilts alleged:
> I'd like to set up my system to allow for both up2date and yum updates.
> For my yum updates (DAG's repository, primarily), I'd like to update
> only those packages that came from that repository and not clobber the
> base.  For example, RHEL and DAG both provide rsync but I don't ever
> want to install the DAG version by mistake.  If I installed a DAG
> package (proftpd, for example), then I want that package updated.
> 
> I guess what I'm saying is that I want to pull updates from dag only if
> the dag release is currently installed.
> 
> Is there a feature in yum I'm missing that would allow this
> functionaility?

This has been asked on the yum list several times.  You might want to the
archives for the long version of the answer.

The fundamental issue is that once a package is installed, there's no way
for yum to know where it came from... the only information it has to decide
which package to install is repo sorting and package version calculations.

At present, my only suggestion is to order DAG's repo after the RH repo,
and per-server section excludes on the RH repo for everything you _don't_
want from RH.  Make sense?

So...

[main]
pkgpolicy=last
[0_dag]
baseurl=http://blahblahblah
[1_RH_main]
exclude=proftpd
[2_RH_updates]
exclude=proftpd

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California

Attachment: pgp00017.pgp
Description: PGP signature


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