srvadmin-storelib-sysfs-6.5.0-1.1.1.el6.x86_64 install

Jeffrey_L_Mendoza at Dell.com Jeffrey_L_Mendoza at Dell.com
Fri Apr 20 11:25:09 CDT 2012


Looks like we need "Provides: Lib_Utils"  in srvadmin-storelib-sysfs. I believe we repackage Lib_Utils because LSI includes both 32-bit and 64-bit libsysfs in their package. Which other LSI rpms are you using that are requiring Lib_Utils by name?

Thanks,
Jeff



From: linux-poweredge-bounces-Lists On Behalf Of Sean P. Kane
Sent: Friday, April 20, 2012 10:53 AM
To: linux-poweredge-Lists; glowe at sbcglobal.net
Subject: Re: srvadmin-storelib-sysfs-6.5.0-1.1.1.el6.x86_64 install

Yes, It would be nice if Dell and LSI would get together and fix this, so that their RPMs were compatible, given Dell ships with their hardware. 

I fixed this by creating a dummy RPM to replace Lib_Utils and satisfy the requires of the other LSI RPMs, which for the record are what is mostly broken. LSI's RPMs should require the library files, not the actual RPM by name.

Here is the RPM SPEC file:

$ more dummy_Lib_Utils.spec 

Summary:            LSI MegaRAID Lib-Utils dummy package
Name:               dummy_Lib_Utils
Version:            1
Release:            4_dummy
License:            bsd license
Packager:           Sean P. Kane <skane kavi com>
Vendor:             Kavi Corporation
URL:                http://www.lsi.com/search/Pages/downloads.aspx
Requires:           srvadmin-storelib-sysfs
Provides:           Lib_Utils
BuildArchitectures: noarch

%description
This is a dummy package.

Required becuase:
File /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2 from LSI's Lib_Utils
conflicts with file from Dell's srvadmin-storelib-sysfs

%files

%changelog
* Thu Apr 19 2012 Sean P. Kane <skane kavi com> 1
- Initial build

# rpmbuild -ba dummy_Lib_Utils.spec

So, I had installed the other LSI packages with rpm --nodeps to force them on for testing with Dell's rpm srvadmin-storelib-sysfs. Which I knew would break the RPM dependency tree. And that can be verified with:

# yum check
Loaded plugins: dellsysid, fastestmirror, security
MegaCli-8.02.14-1.i386 has missing requires of Lib_Utils
MegaRAID_Storage_Manager-11.06.00-05.noarch has missing requires of Lib_Utils
sas_ir_snmp-3.17-1126.i386 has missing requires of Lib_Utils
sas_snmp-3.17-1123.i386 has missing requires of Lib_Utils
Error: check all

I then installed this dummy RPM with:

# yum localinstall dummy_Lib_Utils-1-4_dummy.noarch.rpm  
(or you could use rpm -ivh dummy_Lib_Utils-1-4_dummy.noarch.rpm)

Then I checked the dep tree again:

yum check
Loaded plugins: dellsysid, fastestmirror, security
check all

And all was good…..

and even better yet, I had OMSA installed and MegaCli at the same time…..

# /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL

Hope this helps!

Sean

-- 
Sean P. Kane
Platform Operations Engineer

KAVI CORPORATION
503.234.4220
www.kavi.com

On Friday, April 20, 2012 at 08:21 , linux-poweredge-request at dell.com wrote:
Grant Lowe glowe at sbcglobal.net 
Thu Jan 26 11:20:40 CST 2012
________________________________________
Hi All,

I'm trying to update my firmware. Everything goes along fine until it looks like the final update. Here's what I get when it gets to that stage:

[root at prdapp01 ~]# yum install srvadmin-storelib-sysfs-6.5.0-1.1.1.el6.x86_64
Loaded plugins: dellsysid, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror-la.7x24web.net
 * extras: centos.mirror.freedomvoice.com
 * updates: mirror-la.7x24web.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package srvadmin-storelib-sysfs.x86_64 0:6.5.0-1.1.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                             Arch               Version                       Repository                   Size
========================================================================================================================
Installing:
 srvadmin-storelib-sysfs             x86_64             6.5.0-1.1.1.el6               dell-omsa-indep              42 k

Transaction Summary
========================================================================================================================
Install       1 Package(s)

Total size: 42 k
Installed size: 117 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2 from install of srvadmin-storelib-sysfs-6.5.0-1.1.1.el6.x86_64 conflicts with file from package Lib_Utils-1.00-08.noarch

Error Summary
-------------

[root at prdapp01 ~]#


Any help is appreciated. Thanks.



More information about the Linux-PowerEdge mailing list