Failed to download RPM in wget bootstrap.cgi
Michael E Brown
Michael_E_Brown at dell.com
Thu Aug 30 08:39:03 CDT 2007
On Thu, Aug 30, 2007 at 06:27:37PM +1000, Lee, John (Sydney) wrote:
> Just to recap - I am running Fedora 7 (f7) on DELL PowerEdge 860.
>
> Please forget what I wrote in my last email because somehow I managed to
> run bootstrap.cgi successfully (***trust me - I did not change
> anything***):
> ...
> Downloading Packages:
> (1/5): libsmbios-libs-0.1 100% |=========================| 234 kB
> 00:02
> (2/5): dell-hw-specific-r 100% |=========================| 5.9 kB
> 00:00
> (3/5): libsmbios-bin-0.13 100% |=========================| 57 kB
> 00:01
> (4/5): firmware-tools-1.3 100% |=========================| 106 kB
> 00:01
> (5/5): firmware-addon-del 100% |=========================| 27 kB
> 00:00
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Updating : libsmbios-libs #########################
> [1/6]
> Installing: libsmbios-bin #########################
> [2/6]
> Installing: firmware-tools #########################
> [3/6]
> Installing: firmware-addon-dell #########################
> [4/6]
> Installing: dell-hw-specific-repository #########################
> [5/6]
> Cleanup : libsmbios-libs #########################
> [6/6]
>
> Installed: dell-hw-specific-repository.noarch 0:1-13.el5
> Dependency Installed: firmware-addon-dell.i386 0:1.3.0-1.el5
> firmware-tools.noarch 0:1.3.1-1.el5 libsmbios-b
> in.i386 0:0.13.7-1.el5
> Dependency Updated: libsmbios-libs.i386 0:0.13.7-1.el5
> Complete!
> Done!
>
> *** However, once I run "yum install srvadmin-all", yum just bombed out
> like below (even just enter yum with no argument will crash):
>
> # yum install srvadmin-all
> Loading "installonlyn" plugin
> Traceback (most recent call last):
> File "/usr/bin/yum", line 29, in <module>
> yummain.main(sys.argv[1:])
> File "/usr/share/yum-cli/yummain.py", line 82, in main
> base.getOptionsConfig(args)
> File "/usr/share/yum-cli/cli.py", line 146, in getOptionsConfig
> errorlevel=opts.errorlevel)
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 151, in
> _getConfig
> startupconf.pluginconfpath)
> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 277, in
> doPluginSetup
> plugin_types, confpath)
> File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 139, in
> __init__
> self._importplugins(types)
> File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 180, in
> _importplugins
> self._loadplugin(modulefile, types)
> File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 197, in
> _loadplugin
> module = imp.load_module(modname, fp, pathname, description)
> File "/usr/lib/yum-plugins/dellsysidplugin.py", line 9, in <module>
> from firmwaretools.biosHdr import getSystemId, getServiceTag
> ImportError: No module named firmwaretools.biosHdr
>
> It seems like yum is somehow corrupted.
Not really.
> Any thoughts?
Yes.
F7 uses Python 2.5. RHEL5 uses Python 2.4.
The RPMs for firmware-addon-dell install a plugin for yum to set a
variable based on your system id. This plugin tries to import a module
to do the work, but it isnt in the python2.5 directory where it expects
(because it got put into the python 2.4 directory where it is
basically invisible to the later python).
You can:
1) disable this plugin: /etc/yum/pluginconf.d/dellsysidplugin.conf
2) hardcode the system id: /etc/yum.repos.d/dell-hw-specific-repository.conf
--> use "getSystemId" to get the system id. Vendor id is 0x1028.
System Id is same format, all lower case.
Now the thing is, you would then be able to install OMSA from the repo.
You will run into other problems though. Read the list archives, there
have been others trying to get OMSA running on F7 without full success.
--
Michael
More information about the Linux-PowerEdge
mailing list