Bug 439235

Summary: bug-buddy, redhat-menus fail in %postun when desktop-file-utils aren't installed
Product: Red Hat Enterprise Linux 4 Reporter: Morten K. Poulsen <morten+bugzilla.redhat.com>
Component: bug-buddyAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 4.6   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 16:02:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Morten K. Poulsen 2008-03-27 17:01:52 UTC
Description of problem:
When uninstalling a number of packages, I noticed that bug-buddy and
redhat-menus (and possibly other packages) fail in their %postun scripts when
the update-desktop-database executable is not installed (ie. it is being
uninstalled at the same time as bug-buddy).

The update-desktop-database executable is provided by the desktop-file-utils
package.

This could probably be fixed by checking for update-desktop-database in the
%postun script, before running it.


Version-Release number of selected component (if applicable):
2.8.0-3


How reproducible:
100%


Steps to Reproduce:
1.
# rpm -e bug-buddy redhat-menus gnome-vfs2 gnome-desktop libgnome libbonoboui
libgnomeui desktop-file-utils

  
Actual results:
[root@cn-a-1 mopo]# rpm -e bug-buddy redhat-menus gnome-vfs2 gnome-desktop
libgnome libbonoboui libgnomeui desktop-file-utils
/var/tmp/rpm-tmp.2709: line 1: update-desktop-database: command not found
error: %postun(redhat-menus-3.7.1-2.noarch) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.90861: line 1: update-desktop-database: command not found
error: %postun(bug-buddy-2.8.0-3.i386) scriptlet failed, exit status 127
[root@cn-a-1 mopo]# 


Expected results:
[root@cn-a-1 mopo]# rpm -e bug-buddy redhat-menus gnome-vfs2 gnome-desktop
libgnome libbonoboui libgnomeui desktop-file-utils
[root@cn-a-1 mopo]# 

Additional info:



Best regards,
Morten K. Poulsen

Comment 1 Jiri Pallich 2012-06-20 16:02:13 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.