I discovered this morning upgrading from MegaRAID Storage manager 12.08.03-03 -> 13.04.03-01 that the RPM for the old package wasn’t being removed. An example is below. Note that I’ve created local YUM repos for the LSI provided RPMs.
# yum update -y MegaCli MegaRAID_Storage_Manager
Loaded plugins: priorities, security, upgrade-helper
88 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package Lib_Utils2.noarch 0:1.00-04 will be updated
---> Package Lib_Utils2.noarch 0:1.00-05 will be an update
---> Package MegaCli.noarch 0:8.04.07-1 will be updated
---> Package MegaCli.noarch 0:8.07.07-1 will be an update
---> Package MegaRAID_Storage_Manager.noarch 0:12.08.03-03 will be updated
---> Package MegaRAID_Storage_Manager.noarch 0:13.04.03-01 will be an update
---> Package sas_ir_snmp.x86_64 0:12.08-0303 will be updated
---> Package sas_ir_snmp.x86_64 0:13.04-0301 will be an update
---> Package sas_snmp.x86_64 0:12.08-0303 will be updated
---> Package sas_snmp.x86_64 0:13.04-0301 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Updating:
Lib_Utils2 noarch 1.00-05 lsi 1.1 M
MegaCli noarch 8.07.07-1 lsi 1.5 M
MegaRAID_Storage_Manager noarch 13.04.03-01 lsi 65 M
sas_ir_snmp x86_64 13.04-0301 lsi 936 k
sas_snmp x86_64 13.04-0301 lsi 557 k
Transaction Summary
================================================================================
Upgrade 5 Package(s)
Total download size: 69 M
Downloading Packages:
(1/5): Lib_Utils2-1.00-05.noarch.rpm | 1.1 MB 00:00
(2/5): MegaCli-8.07.07-1.noarch.rpm | 1.5 MB 00:00
(3/5): MegaRAID_Storage_Manager-13.04.03-01.noarch.rpm | 65 MB 00:00
(4/5): sas_ir_snmp-13.04-0301.x86_64.rpm | 936 kB 00:00
(5/5): sas_snmp-13.04-0301.x86_64.rpm | 557 kB 00:00
--------------------------------------------------------------------------------
Total 64 MB/s | 69 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : Lib_Utils2-1.00-05.noarch 1/10
Installing....
Updating : sas_snmp-13.04-0301.x86_64 2/10
Stopping LSI SNMP Agent:[ OK ]
ln: creating symbolic link `/usr/lib64/libsas_objects.so.1': File exists
Starting snmpd
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
Starting LSI SNMP Agent
Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.18.0.2 (Jan 21st, 2013) Started
[ OK ]
Updating : MegaCli-8.07.07-1.noarch 3/10
Updating : sas_ir_snmp-13.04-0301.x86_64 4/10
Stopping LSI SNMP Agent:[ OK ]
ln: creating symbolic link `/usr/lib64/libsas_ir_objects.so.1': File exists
Starting snmpd
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
Starting LSI SNMP Agent
Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.18.0.2 (Jan 21st, 2013) Started
[ OK ]
Updating : MegaRAID_Storage_Manager-13.04.03-01.noarch 5/10
Installing....
/
/
/
Framework is already running.....
/
/
/
Error in PREUN scriptlet in rpm package MegaRAID_Storage_Manager
Cleanup : Lib_Utils2-1.00-04.noarch 6/10
./popup: line 4: 26717 Killed ../jre/bin/java -classpath .:Popup.jar:../GUI.jar Popup.Communicator ajsgyqkj=71244 &>/dev/null
MegaRAID Storage Manager is running. Please shutdown the process and retry.
error: %preun(MegaRAID_Storage_Manager-12.08.03-03.noarch) scriptlet failed, exit status 1
Cleanup : MegaCli-8.04.07-1.noarch 7/10
Cleanup : sas_snmp-12.08-0303.x86_64 8/10
Stopping LSI SNMP Agent:[ OK ]
Cleanup : sas_ir_snmp-12.08-0303.x86_64 9/10
Starting LSI SNMP Agent:LSI MegaRAID SNMP Agent Ver 3.18.0.2 (Jan 21st, 2013) Started
[ OK ]
Stopping LSI SNMP Agent:[ OK ]
Unregistering Service
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
Verifying : sas_ir_snmp-13.04-0301.x86_64 1/10
Verifying : MegaRAID_Storage_Manager-13.04.03-01.noarch 2/10
Verifying : MegaCli-8.07.07-1.noarch 3/10
Verifying : sas_snmp-13.04-0301.x86_64 4/10
Verifying : Lib_Utils2-1.00-05.noarch 5/10
MegaRAID_Storage_Manager-12.08.03-03.noarch was supposed to be removed but is not!
Verifying : MegaRAID_Storage_Manager-12.08.03-03.noarch 6/10
Verifying : Lib_Utils2-1.00-04.noarch 7/10
Verifying : sas_snmp-12.08-0303.x86_64 8/10
Verifying : MegaCli-8.04.07-1.noarch 9/10
Verifying : sas_ir_snmp-12.08-0303.x86_64 10/10
Updated:
Lib_Utils2.noarch 0:1.00-05 MegaCli.noarch 0:8.07.07-1
MegaRAID_Storage_Manager.noarch 0:13.04.03-01 sas_ir_snmp.x86_64 0:13.04-0301
sas_snmp.x86_64 0:13.04-0301
Failed:
MegaRAID_Storage_Manager.noarch 0:12.08.03-03
Complete!
And sure enough, the old RPM is still laying around.
Continue Reading →