SCIENTIFIC-LINUX-DEVEL Archives

September 2008

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Owen Synge <[log in to unmask]>
Reply To:
Date:
Fri, 5 Sep 2008 17:20:21 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
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

ATOM RSS1 RSS2