Bug 439235 - bug-buddy, redhat-menus fail in %postun when desktop-file-utils aren't installed
bug-buddy, redhat-menus fail in %postun when desktop-file-utils aren't installed
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: bug-buddy (Show other bugs)
4.6
All Linux
low Severity low
: rc
: ---
Assigned To: Ray Strode [halfline]
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-27 13:01 EDT by Morten K. Poulsen
Modified: 2012-06-20 12:02 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 12:02:13 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 Morten K. Poulsen 2008-03-27 13:01:52 EDT
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 12:02:13 EDT
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.

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