On Thu, 04 Sep 2008 10:31:47 +0200
Urs Beyerle <[log in to unmask]> wrote:

Dear Urs Beyerle et al,

 
> Normally in /etc/yum.repos.d/sl.repo there is a line
> 
> baseurl=ftp://ftp.scientificlinux.org/linux/scientific/44/$basearch/SL/RPMS/
> 
> yum should set $basearch=i386 ending up with
> 
> ftp://ftp.scientificlinux.org/linux/scientific/44/i386/SL/RPMS/repodata/repomd.xml
> 
> and not with
> 
> ftp://ftp.scientificlinux.org/linux/scientific/44/SL/RPMS/repodata/repomd.xml
> 
> What's inside your /etc/yum.repos.d/sl.repo?

Well our customer had 

[sl-base]
name=SL 4 base
baseurl=ftp://ftp.scientificlinux.org/linux/scientific/44/$basearch/SL/RPMS/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-csieh
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpolok
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

Why the $basearch was transformed to "" I don't know. When the client
fixed this by hard coding it, the problem was resolved.

This site has had this problem before so I assume that they have some
error on their system. I believe you resolved this your self on the
users list. He thanked you, I will check for this myself in future with
our customers.

Regards

Owen