Hide Forgot
Test environment: RHEL5 x86 Description of problem: RHBA-2011:1043 is failed to upgrade on RHEL5 x86 The error message is following: # rpm -q rhnsd rhnsd-4.7.0-10.el5 # rpm -Fvh rhnsd-4.7.0-10.el5.i386.rpm Preparing... ########################################### [100%] 1:rhnsd ########################################### [100%] error: %postun(rhnsd-4.6.1-1.el5.i386) scriptlet failed, exit status 6 Steps to Reproduce: 1.Download the rpm file "rhnsd-4.7.0-10.el5.i386.rpm" from rhn 2.use rpm commond to upgrade the rhnsd patches 3.check the commond return Actual results: The rpm file can not be installed successfully. Expected results: The rpm file can be installed successfully. Additional info: If I uninstall the rpm package which exists on the rhel5 x86 system, and use commond "rpm -ivh rhnsd-4.7.0-10.el5.i386.rpm" to install the rpm package, it can be installed successfully.
The problematic %postun script has been fixed in bug #503719 although the fix won't address that particular problem you are describing: The %postun which is run in the situation you're describing comes from the old rhnsd, which is to be upgraded -- we cannot change what's already been released (see https://bugzilla.redhat.com/show_bug.cgi?id=503719#c14). Thank you for your report, I'm gonna have to close this with CANTFIX.