On 09/17/2010 09:24 AM, Arnau Bria wrote:
> Hi all,
> 
> I've added a i386 repo to my x86_64 nodes and I'm seeing that, when
> installing the node, yum sometimes installs many i386 packages and
> sometimes not.
> So, I'd like to set yum to install always x86_64 and then i386 (if
> needed or specified).

i am not totally sure about this, but after going thru a lot of problems
with fedora 12 and 'repos', this may be reasonable answer.

you need to structure your 'sl.repo.local' or what ever you call it to
have structure similar to what standard 'sl.repo' has.

  baseurl=http://ftp.scientificlinux.org/linux/scientific/54/$basearch/SL

for your local repos;

  baseurl=http://path.to.local/linux/scientific/54/$basearch/SL

which may/can be shortened to;

  baseurl=http://path.to.local/54/$basearch/SL

note use of "54", "$basearch", "SL".


you will/may need to have "i386" and "x86_64" rpms in their respective
directories if "i386" you need is not in "x86_64".

open this link in you browser and follow thru relative directories to
see how they follow, especially when you get to "$basearch"

  http://ftp.scientificlinux.org/linux/

if i am in error, i am sure troy dawson or one of other maintainers will
correct.

-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****