Bug 807591 - RHBA-2011:1043 is failed to upgrade on RHEL5 x86
RHBA-2011:1043 is failed to upgrade on RHEL5 x86
Status: CLOSED CANTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhnsd (Show other bugs)
5.0
i386 Linux
unspecified Severity high
: rc
: 5.0
Assigned To: Milan Zázrivec
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-28 05:27 EDT by Anson
Modified: 2012-03-28 07:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
RHEL5 x86
Last Closed: 2012-03-28 07:37:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anson 2012-03-28 05:27:43 EDT
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.
Comment 1 Milan Zázrivec 2012-03-28 07:37:11 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.