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.
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.