Bug 122532 - %postun -p /sbin/ldconfig doesn't work
Summary: %postun -p /sbin/ldconfig doesn't work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
: 122974 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-05 16:01 UTC by Miloslav Trmac
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-13 17:58:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miloslav Trmac 2004-05-05 16:01:54 UTC
Description of problem:
%postun -p /sbin/ldconfig
doesn't work, because ldconfig chokes on the parameter passed by
RPM.

If I understand RPM correctly, it will attempt to execute the
whole %postun script (the gconf schema removal in particular)
in the ldconfig "shell", which will fail too.

The fix is simple:

%postun
/sbin/ldconfig
[rest of %postun]

Version-Release number of selected component (if applicable):
rhythmbox-0.8.3-1

Steps to Reproduce:
1.rpm -Uvh rhythmbox-0.8.3-1
2.rpm -ev rhythmbox
  
Actual results:
messages about %postun scriptlet failing

Comment 1 Colin Walters 2004-05-10 21:13:15 UTC
*** Bug 122974 has been marked as a duplicate of this bug. ***

Comment 2 Colin Walters 2004-05-11 04:09:59 UTC
*** Bug 122974 has been marked as a duplicate of this bug. ***

Comment 3 Colin Walters 2004-05-13 17:58:44 UTC
Fixed in 0.8.3-4.


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