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

Re: Add cost=1100 in epel.repo?



On Tue, 24 Aug 2010 12:56:37 -0400
seth vidal <skvidal fedoraproject org> wrote:

> On Tue, 2010-08-24 at 10:48 -0600, Stephen John Smoogen wrote:
> > I believe in the past we have asked the following:
> > 
> > 1) Only  build for the architectures that are excluded (eg build it
> > for ppc64 and not x86_64 or i386)
> > 2) Keep to the same version or make the release number smaller than
> > what is in EL-5
> > 
> > I am not sure of what effect cost might have on other setups so will
> > check with skvidal and others.
> > 
> 
> Cost only matters when the pkg nevra are identical between two repos.
> 
> so if you have epel and rpmfusion
> 
> 
> and they both have foo-1.1-1.noarch.rpm
> 
> then yum will choose the one with the lower cost.
> 
> but if they vary in evr or arch then it will sort by those
> characteristics first.

So given that the EPEL packages are intended to be exact clones of the
RHEL packages, with the same nevr and arch, having a cost > 1000 should
do exactly the right thing, should it not?

Paul.


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