RHEL 4: problem installing OpenManage Server Administrator with up2date

Michael E Brown Michael_E_Brown at dell.com
Fri Jul 6 09:56:44 CDT 2007


On Fri, Jul 06, 2007 at 10:33:11AM -0400, Kevin Eberman wrote:
> Hi,
> 
> Below, is my system information, per your question.  Let me know if you
> need more/different info to help resolve.  As a work around, what would
> I need in my /etc/sysconfig/rhn/sources file to get this going?
> 
> [root at lin3860 ~]# uname -a
> Linux lin3860 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686
> i386 GNU/Linux
> [root at lin3860 ~]# cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 4 (Nahant)

gold release. I dont think I've ever tested with anything that old.
Probably a bug there.

> [root at lin3860 ~]# up2date --version
> Red Hat Update Agent v
> Copyright (C) 1999-2002 Red Hat, Inc.
> Licensed under terms of the GPL.
> 
> 
> ...  additionally, I modified /etc/sysconfig/rhn/sources.  Where the was
> $basearch, I replaced that with i386.  Specifically:
> 
> #BEGIN dell-hw-indep-repository
> # This block is managed by the dell-hw-indep-repository RPM.
> 
> yum dell-hw-indep-repository
> http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=i386&
> repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver&redirect
> =1&redir_path=
> yum-mirror dell-hw-indep-repository
> http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=i386&
> repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver

Yes, that would do the trick.

> After that, I was able to run up2date -ivv dell-hw-specific-repository 
> 
> Again, what was added to /etc/sysconfig/rhn/sources did not have the
> $basearch variable set.  I set it again to i386, but it couldn't find
> the packages when I tried up2date -ivv srvadmin-all
> 
> yum dell-hw-specific-repository
> http://linux.dell.com/repo/hardware/mirrors.pl?sys_ven_id=0x1028&sys_dev
> _id=0x01E6&osname=el4&basearch=i386&repo_config=$repo_config&dellsysidpl
> uginver=up2date&redirect=1&redir_path=
> yum-mirror dell-hw-specific-repository
> http://linux.dell.com/repo/hardware/mirrors.pl?sys_ven_id=0x1028&sys_dev
> _id=0x01E6&osname=el4&basearch=i386&repo_config=$repo_config&dellsysidpl
> uginver=up2date


Well, these URLs are correct. You can cut and paste them into a web
browser to see. The up2date version in gold rhel4 is ancient, and may
have broken yum support. Can you upgrade at least up2date to something a
bit more recent to see if that works?

--
Michael



> -----Original Message-----
> From: Michael E Brown [mailto:Michael_E_Brown at dell.com] 
> Sent: Wednesday, July 04, 2007 12:29 PM
> To: Kevin Eberman
> Cc: linux-poweredge at dell.com
> Subject: Re: RHEL 4: problem installing OpenManage Server Administrator
> with up2date
> 
> On Tue, Jul 03, 2007 at 12:29:45PM -0400, Kevin Eberman wrote:
> > Hi,
> > 
> > Subsequent to the OMSA moving into the "hardware" repository, I can no
> > longer install OMSA via up2date.
> > 
> > It appears the repo_config and dellsysidpluginver variables are not be
> > configured properly.  Please note my output below.
> 
> repo_config defaults to 'latest' on the server side if it is not set.
> 
> dellsysidpluginver is only for debugging. It helps me know when somebody
> has an out of date plugin. (And it is not substituted in up2date, only
> yum).
> 
> The actual problem is that your $basearch variable isnt getting
> replaced. Why? I have no idea.
> 
> > 
> > [root at lin3860 rhn]# 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-10.el4.noarch.rpm
> > 
> >  
> > 
> > Installing platform-specific repository RPM.
> > 
> >
> http://linux.dell.com/repo/hardware/mirrors.pl?osname=el4&basearch=$base
> > arch&repo_config=$repo_config&dellsysidpluginver=$dellsysidpluginver
> 
> this is the problem here. Up2date should be substituting $basearch with
> i386 or x86_64.
> 
> Which update level are you running for EL4?
> 
> --
> Michael



More information about the Linux-PowerEdge mailing list