Bug 807591 - RHBA-2011:1043 is failed to upgrade on RHEL5 x86
Summary: RHBA-2011:1043 is failed to upgrade on RHEL5 x86
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhnsd
Version: 5.0
Hardware: i386
OS: Linux
unspecified
high
Target Milestone: rc
: 5.0
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-28 09:27 UTC by Anson
Modified: 2012-03-28 11:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
RHEL5 x86
Last Closed: 2012-03-28 11:37:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Anson 2012-03-28 09:27:43 UTC
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 11:37:11 UTC
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.