Vadim Nasardinov wrote:
On Monday 19 September 2005 05:14, Gary Benson wrote:
> What is really needed is for some way to tell yum to ignore
> packages in jpackage.repo that exist already in fedora.repo.
> I doubt it's that simple though.
Some of the possible choices are:
(a) fedora.repo always trumps jpackage.repo;
(b) jpackage.repo always trumps fedora.repo;
(c) the user has a choice of specifying either (a) or (b) as their
default policy.
People who use java stuff in FC exclusively with GCJ won't want
to lose the native bits due to updates coming from jpackage.repo.
People who use java packages primarily under a proprietary JVM
will be happy to pull upgrades from jpackage.repo even if it
means losing the .so bits;
(d) go wild and make the choice of repos configurable on a
per-package basis.
Although I don't know how simple or difficult this is going to be, I
doubt it will be much worse than the current situation. My initial
conservative preference would be (c) with fedora.repo trumping
jpackage.repo by default.
I like the sound of (c), though it's not just yum that needs to deal
with this: anaconda and possibly up2date need to handle it too.
Cheers,
Gary