Red Hat Bugzilla – Bug 237928
Error in post uninstall script
Last modified: 2013-03-11 15:46:41 EDT
+++ This bug was initially created as a clone of Bug #224588 +++
During an automated install/deinstall check the following error has happened:
ERROR: Output running post uninstall script for package
ls: cannot access /usr/lib/eclipse/features: No such file or directory
Checking whether the directory exists before doing an ls on it should fix the
postuninstall scriptlet (using /bin/sh):
if [ -x /usr/bin/rebuild-gcj-db ]
# Only set the product back to platform.ide if the sdk is actually removed for
# this arch. This SDKDIR check is to deal with the ordering of new %post
# before old %postun
if [ -d /usr/lib/eclipse/features]; then
SDKDIR=$(ls /usr/lib/eclipse/features | grep "org\.eclipse\.sdk_")
if [ -z "$SDKDIR" -a -f /usr/lib/eclipse/configuration/config.ini ]; then
-- Additional comment from firstname.lastname@example.org on 2007-01-26 13:24 EST --
Looks good. Feel free to commit.
-- Additional comment from email@example.com on 2007-01-29 22:40 EST --
This is fixed in rawhide (3.2.1-33.fc7). Thanks.
-- Additional comment from firstname.lastname@example.org on 2007-02-21 16:54 EST --
A fix for this will also be in the upcoming 3.2.2-1.fc6 update. Thanks.
Test for Fix:
1) install eclipse-sdk
2) remove eclipse-rcp, libswt3-gtk2 and eclispe-ecj and ensure that there is not
an error in the post uninstall script
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. This request will
be reviewed for a future Red Hat Enterprise Linux release.
RHEL 5 has ended Production Phase 1 and thus only security bugfixes from this point on. Please use Eclipse from RHEL 6 if you need newer Eclipse version.