Bug 169179

Summary: tomcat5 - error in %post script for tomcat5-servlet-2.4-api
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: tomcat5Assignee: Devrim GUNDUZ <devrim>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ivg231, orion
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.5.25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-05 13:49:53 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 Michal Jaegermann 2005-09-24 02:50:10 UTC
Description of problem:

$ rpm -q --scripts tomcat5-servlet-2.4-api
postinstall scriptlet (using /bin/sh):
/usr/bin/rebuild-gcj-db
postuninstall scriptlet (using /bin/sh):
/usr/bin/rebuild-gcj-db

but during an installation one gets:

/var/tmp/rpm-tmp.60467: line 1: /usr/bin/rebuild-gcj-db: No such file or directory
error: %post(tomcat5-servlet-2.4-api-5.0.30-8jpp_3fc.x86_64) scriptlet failed,
exit status 127

and indeed there is no /usr/bin/rebuild-gcj-db anywhere in sight.
As a result a system is left with both

tomcat5-servlet-2.4-api-5.0.30-8jpp_2fc
tomcat5-servlet-2.4-api-5.0.30-8jpp_3fc

packages.  A missing dependency?

Version-Release number of selected component (if applicable):
tomcat5-servlet-2.4-api-5.0.30-8jpp_2fc and tomcat5-servlet-2.4-api-5.0.30-8jpp_3fc

Comment 1 Ivan Gyurdiev 2005-09-25 04:52:00 UTC
I can confirm this bug. It also occurs with the tomcat5-jasper package.




Comment 2 Ivan Gyurdiev 2005-09-25 05:10:40 UTC
...and the tomcat5 package.

Comment 3 Orion Poplawski 2006-03-02 17:42:00 UTC
Requires(post): /usr/bin/rebuild-gcj-db

Comment 4 Devrim GUNDUZ 2008-01-05 13:45:46 UTC
Already fixed in the latest packages.

Closing.