RHEL 5.1, yum and bootstrap.cgi
Mikolaj Kucharski
mikolaj at kucharski.name
Tue Nov 4 09:25:20 CST 2008
Hi,
I have small issue with bootstrap.cgi. I didn't see problem before, so
not sure is that something new.
I have RHEL 5.1 and boostrap.cgi is run as part of bigger script which
installs different packages from various repos. One of them is Dell OM.
When bootstrap.cgi starts it installs
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
firmware-addon-dell x86_64 2.1.2-1.1 dell-omsa-specific 56 k
Installing for dependencies:
firmware-tools noarch 2.1.2-4.1 dell-omsa-specific 203 k
libsmbios x86_64 2.1.0-1.1 dell-omsa-specific 1.3 M
smbios-utils x86_64 2.1.0-1.1 dell-omsa-specific 130 k
Then there is `yum clean all' with `--disableplugin=rhnplugin' parameter in
bootstrap.cgi:
$ wget -q -O - http://linux.dell.com/repo/hardware/bootstrap.cgi | grep 'clean all'
yum --disableplugin=rhnplugin clean all
But on RHEL 5.1 I have the following error:
# yum --disableplugin=rhnplugin clean all
Loading "dellsysidplugin" plugin
Loading "installonlyn" plugin
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate,
resolvedep, erase, deplist, groupremove, makecache, upgrade, provides,
shell, install, whatprovides, groupinstall, update, groupupdate, info,
search, check-update, list, remove, clean, grouperase >
Command line error: no such option: --disableplugin
and the cache is not cleaned, so after that my script fails to install
anything from Dell's repos as yum(8) didn't reload the cache with new
dell-omsa-specific repo. Not a big issue as I've added `yum clean all'
after bootstrap.cgi, but I never seen problem with that before, although
I was using RHEL 5.2 with my script. It's first time when I'm using RHEL
5.1 with bootstrap.cgi.
Unfortunately yum's manual page says there is option `--disableplugin'.
Also I don't have rhnplugin plugin installed, anyway I'm not aware of
that.
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
# rpm -q yum
yum-3.0.1-5.el5
PS. Please CC me in any replies as I've disabled mail delivery for this
list. Thank you.
--
best regards
q#
More information about the Linux-PowerEdge
mailing list