Red Hat Bugzilla – Bug 457891
upgrading lam-libs from RHEL4.6 to 4.7 failed.
Last modified: 2011-01-24 18:12:43 EST
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
Steps to Reproduce:
1. install 7.1.2-8
2. rpm -U 7.1.2-15
fail with above error.
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.
"rpm -e --nopreun lam-libs-7.1.2-8" after upgrade.
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.