[Yum] different platform rpms

seth vidal skvidal at phy.duke.edu
Tue May 6 17:10:05 UTC 2003


On Tue, 2003-05-06 at 11:54, Peter Peltonen wrote: 
> Hi,
> 
> Is there any reason to _not_ put rpms for different platforms in a
> _same_ directory and running yum-arch against that directory?
> 
> I mean, should I have different repositries for different platforms, say
> for i386 and i686? Or is yum (or rpm?) intelligent enough to not to try 
> to install a i686 kernel on a i386 machine?
> 
> I do have old machines (non i686) that use the repositry.

There are two types of archs yum knows about:
basearch and arch

arch is the result of os.uname()[4]

basearch is based on the definitions for arch "Groups" that rpm has:

ie: i386 is the basearch for i386, i486, i586, i686, athlon etc etc
    alpha is the basearch for alpha and alphaev6

so I tend to recommend that people make repositories based on basearchs.
it makes like easier and somewhat more tidy.

However, yum will only download headers for archs that it knows it can
comprehend, now.

So you should be able to comfortably plop a bunch of archs in one dir
(i386, alpha, ppc, sparc) and yum should just "do the right thing".

the repos at dulug are separated out by basearch b/c it is just tidier.

-sv






More information about the Yum mailing list