Bug 457891

Summary: upgrading lam-libs from RHEL4.6 to 4.7 failed.
Product: Red Hat Enterprise Linux 4 Reporter: Kazuo Moriwaka <kmoriwak>
Component: lamAssignee: Doug Ledford <dledford>
Status: CLOSED CANTFIX QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 4.7CC: tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-05 13:31:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kazuo Moriwaka 2008-08-05 09:14:18 UTC
Description of problem:

When my customer upgrade lam-libs, it failed with following message.

error: %preun(lam-libs-7.1.2-8.i386) scriptlet failed, exit status 2
There was a fatal RPM install error. The message was:
Failed running rpm transaction


Version-Release number of selected component (if applicable):

7.1.2-8 and 7.1.2-15

How reproducible:

always

Steps to Reproduce:
1. install 7.1.2-8
2. rpm -U 7.1.2-15

  
Actual results:
fail with above error.

Expected results:
updated.

Additional info:
When upgrade, 
7.1.2-15's %post remove mpilibsXX alternatives, after then,
7.1.2-8's %preun try to remove mpilibsXX alternatives, and it fails.

workaround: 
"rpm -e --nopreun lam-libs-7.1.2-8" after upgrade.

Comment 1 Doug Ledford 2008-08-05 13:31:24 UTC
This is a known issue for both lam and openmpi.  There was a specific release note related to this and how to work around the issue properly.  However, as the bug existed in the packages already on the system and not in the new packages, there was little to be done to resolve the situation.