Setup for Scientific Linux of dell repository failed

Martin Flemming martin.flemming at desy.de
Tue Jun 26 17:02:30 CDT 2007


Hi, Michael !

>I've done a simple two-line modification that adds 'sl-release' to the
>list of "redhat-like" systems for the bootstrap script. This should get
>you further. No guarantees that everything will work, but you should be
>able to get the dell-*-repository RPMs installed now.
>
>Both software and hardware repo scripts updated.


Ok, i've tested it on Scientific Linux 4 and 5 :

software:

SLD4-64

Installation works :

[pal21] /tmp # wget -q -O - 
http://linux.dell.com/repo/software/bootstrap.cgi | bash
Downloading GPG key: http://linux.dell.com//repo/software/RPM-GPG-KEY-dell
    Importing key into RPM.
    Downloading GPG key: 
http://linux.dell.com//repo/software/RPM-GPG-KEY-libsmbios
        Importing key into RPM.
        Installing dell-repository-22-0.el4.noarch.rpm
        Done!


But:


[pal21] /etc/yum.repos.d # yum list
Loading "kernel-module" plugin
Setting up repositories
Cannot find a valid baseurl for repo: dell-software
Error: Cannot find a valid baseurl for repo: dell-software


---->Change from el$releasever to el4a (maybe wanted and intended)

[dell-software]
name=Dell Software
#baseurl=http://linux.dell.com/repo/software/el4
mirrorlist=http://linux.dell.com/repo/software/mirrors.pl?osname=el4
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dell
       file:///etc/pki/rpm-gpg/RPM-GPG-KEY-libsmbios

then it's works !


Hardware-Repository:  failed !

[pal21] /tmp # wget -q -O - 
http://linux.dell.com/repo/hardware/bootstrap.cgi | bash
Downloading GPG key: http://linux.dell.com//repo/hardware/RPM-GPG-KEY-dell
    Importing key into RPM.
    Downloading GPG key: 
http://linux.dell.com//repo/hardware/RPM-GPG-KEY-libsmbios
     Importing key into RPM.
     Failed to download RPM: 
http://linux.dell.com/repo/hardware/latest/emptyrepo//x86_64/dell-hw-indep-repository/1-9/dell-hw-indep-repository-1-9.el4.4.noarch.rpm


-> error in  dist-version

wget -q -O - http://linux.dell.com/repo/hardware/bootstrap.cgi | bash -x



+ REPO_RPM_VER=1-9
+ REPO_NAME=dell-hw-indep
++ distro_version
++ dist=unknown
++ '[' '!' -e /bin/rpm ']'
+++ rpm -q --whatprovides redhat-release
+++ tail -n1
++ WHATPROVIDES_REDHAT_RELEASE=sl-release-4.4-4.noarch
++ rpm -q --whatprovides redhat-release
+++ echo sl-release-4.4-4.noarch
+++ grep redhat-release
++ echo sl-release-4.4-4.noarch
++ grep centos-release
++ echo sl-release-4.4-4.noarch
++ grep sl-release
++ REDHAT_RELEASE=1
+++ rpm -q --whatprovides sles-release
+++ tail -n1
++ WHATPROVIDES_SLES_RELEASE='no package provides sles-release'
++ rpm -q --whatprovides sles-release
++ '[' -n 1 ']'
+++ rpm -q --qf '%{version}\n' sl-release-4.4-4.noarch
++ VER=4.4
++ dist=el4.4
++ echo el4.4
+ dist=el4.4
+ '[' el4.4 = unknown ']'

++ wget -q -O- 'http://linux.dell.com//repo/hardware/mirrors.pl?osname=el4.4&basearch=x86_64'
+ ACTUAL_REPO_URL=http://linux.dell.com/repo/hardware/latest/emptyrepo/
+ RPM_URL=http://linux.dell.com/repo/hardware/latest/emptyrepo//x86_64/dell-hw-indep-repository/1-9/dell-hw-indep-repository-1-9.el4.4.noarch.rpm
+ wget -q -N http://linux.dell.com/repo/hardware/latest/emptyrepo//x86_64/dell-hw-indep-repository/1-9/dell-hw-indep-repository-1-9.el4.4.noarch.rpm
+ '[' '!' -e dell-hw-indep-repository-1-9.el4.4.noarch.rpm ']'
+ echo 'Failed to download RPM: 
http://linux.dell.com/repo/hardware/latest/emptyrepo//x86_64/dell-hw-indep-repository/1-9/dell-hw-indep-repository-1-9.el4.4.noarch.rpm'
Failed to download RPM: 
http://linux.dell.com/repo/hardware/latest/emptyrepo//x86_64/dell-hw-indep-repository/1-9/dell-hw-indep-repository-1-9.el4.4.noarch.rpm


"dist" should be el4, i think ....

If i coded the version "el4" hard ,.... the installation works ..


The same by Scientific Linux 5 ...

a little bug in the for the harware-repository


+++ rpm -q --qf '%{version}\n' sl-release-5.0-4.x86_64
++ VER=5.0
++ dist=el5.0
++ echo el5.0
+ dist=el5.0
+ '[' el5.0 = unknown ']'
+ REPO_RPM=dell-hw-indep-repository-1-9.el5.0.noarch.rpm
++ mktemp -d /tmp/bootstrap.XXXXXX
+ TMPDIR=/tmp/bootstrap.Cg8124
+ '[' '!' -d /tmp/bootstrap.Cg8124 ']'
+ trap 'rm -rf /tmp/bootstrap.Cg8124' EXIT HUP QUIT
+ cd /tmp/bootstrap.Cg8124
+ i=0


.. here works hardcoded "el5" for "dist" too ......

Great work, Michael !


Cheers,
      
      Martin


P.S.:
What's the meaning or the difference of

http://linux.dell.com/repo/hardware/latest/

peXXXX-directories

and the 

system.ven.0xxxxxx-directories ....


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming at desy.de
______________________________________________________



More information about the Linux-PowerEdge mailing list