Description of problem: Issued 'yum upgrade' on RHEL 5.8 host. Transaction started and ran until I saw the package madm and then seemed to hang. This was later in the day, so I went home. Upon arriving to the office, the upgrade had not progressed. I hit ctrl-C the upgrade halted and printed out this: Error in PREIN scriptlet in rpm package 1:nfs-utils-1.0.9-60.el5.x86_64 error: %pre(nfs-utils-1.0.9-60.el5.x86_64) scriptlet failed, signal 2 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.9-60.el5 The I issued yum upgrade --exclude nfs-utils-1.0.9-60.el5 which resulted in: Downloading Packages: nfs-utils-1.0.9-54.el5.x86_64.rpm | 404 kB 00:00 Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: cyrus-sasl-lib is needed by (installed) cyrus-sasl-2.1.22-4.x86_64 Complete! (1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum']) Then I issued yum-complete-transaction which resulted in: Transaction size changed - this means we are not doing the same transaction as we were before. Aborting. To remove, use: yum-complete-transaction --cleanup Now yum upgrade and yum update result in the "ERROR with rpm check_debug...." Version-Release number of selected component (if applicable): Yum Version: 3.2.22 How reproducible: This is the only system I have in this state?? To reproduce the error output, I just issue either yum upgrade on update commands and everytime it spits out the error. Steps to Reproduce: 1. yum upgrade or yum update 2. 3. Actual results: ERROR Expected results: upgrade or update of the installed packages Additional info:
If you have cyrus-sasl-lib already installed, your rpmdb is corrupt in some way, and rpm can't lookup the provides correctly. try: $ rpm --rebuilddb