Dell Hardware repo install fails on RHEL 4u5 i386

Michael E Brown Michael_E_Brown at dell.com
Mon Jun 25 13:17:54 CDT 2007


On Mon, Jun 25, 2007 at 09:11:49AM -0400, Jim Nelson wrote:
> Jim Nelson wrote:
> > This is a new box, PE 840, with a fresh RHEL install.
> > 
> > [root at websense ~]# 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.
> > Installing platform-independent RPM: dell-hw-indep-repository-1-9.el4.noarch.rpm
> > 
> > Installing platform-specific repository RPM.
> > http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=i386&repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver
> > using mirror: http://linux.dell.com/repo/hardware/latest/platform_independent/rh40
> > There was an error downloading: /dev/null/headers/firmware-addon-dell-debuginfo-0-1.3.0-1.el4.i386.hdr
> > There was an error downloading: /dev/null/headers/firmware-addon-dell-debuginfo-0-1.3.0-1.el4.i386.hdr
> > There was an error downloading: /dev/null/headers/firmware-addon-dell-debuginfo-0-1.3.0-1.el4.i386.hdr
> > There was an error downloading: /dev/null/headers/firmware-addon-dell-debuginfo-0-1.3.0-1.el4.i386.hdr
> > There was an error downloading: /dev/null/headers/firmware-addon-dell-debuginfo-0-1.3.0-1.el4.i386.hdr
> > An error has occurred:
> > exceptions.UnboundLocalError
> > See /var/log/up2date for more information
> > Done!
> > 

This is odd. There should be two lines. One line "yum dell-* http://..."
and another "yum-mirror dell* http://...". Up2date is supposed to ignore
the 'yum' line if you also have a 'yum-mirror' line.  The yum-mirror
line points to the 'mirrors.pl' cgi script which will redirect you
correctly.

There are actually *two* separate repositories here that work together,
ie, you need them both. The bootstrap.cgi is supposed to set them both
up. One is the dell-hw-indep-repository, the other is the
dell-hw-specific-repository. Your up2date sources file should have lines
that look like this at the end:

===============================
  #BEGIN dell-hw-indep-repository
  # This block is managed by the dell-hw-indep-repository RPM.

  yum dell-hw-indep-repository /dev/null
  yum-mirror dell-hw-indep-repository
  http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=$basearch&repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver

  #END dell-hw-indep-repository
  #BEGIN dell-hw-specific-repository
  # This block is managed by the dell-hw-specific-repository RPM.
  
  yum dell-hw-specific-repository /dev/null
  yum-mirror dell-hw-specific-repository
  http://linux.dell.com/repo/hardware/mirrors.pl?sys_ven_id=0x1028&sys_dev_id=0x016E&osname=el4&basearch=$basearch&repo_config=$repo_config&dellsysidpluginver=up2date
  
  #END dell-hw-specific-repository
===============================


> It looks like the spec file in the dell-hw-indep-repository is writing the following line to the /etc/sysconfig/yum/sources file:
> 
> yum dell-hw-indep-repository /dev/null
> 
> Changing the line to:
> 
> yum dell-hw-indep-repository http://linux.dell.com/repo/hardware/latest/pe0840/el4.i386/
> 
> and commenting out:
> 
> yum-mirror dell-hw-indep-repository http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=$basearch&repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver
> 
> made it possible to pull the updates for the machine.

You dont want to do that as you wont get the hw-indep stuff.

Which RHEL release did you install? Are you running the latest RHEL
update?
--
Michael



More information about the Linux-PowerEdge mailing list