Despite starting from a clean FC-6 setup (with no problems reported by
package-cleanup --problems) and only running yum-removes to get rid of the java
stuff, I got myself in a situation where I can't uninstall tomcat5 because of a
scriplet error :
sudo rpm -e tomcat5
find: /var/lib/tomcat5/common/endorsed: No such file or directory
/var/tmp/rpm-tmp.82114: line 1: /usr/bin/rebuild-gcj-db: No such file or directory
error: %postun(tomcat5-5.5.17-6jpp.2.i386) scriptlet failed, exit status 127
Please always use the '|| :' appendix in preun and postun scriptlets, to make
sure one can always remove packages, even if one got into incoherent/broken RPM
setup by accident or because of a bug.
Reassigning to tomcat5.
Cannot reproduce this error in the latest release, so closing this bug.