Bug 169179 - tomcat5 - error in %post script for tomcat5-servlet-2.4-api
Summary: tomcat5 - error in %post script for tomcat5-servlet-2.4-api
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat5
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Devrim GUNDUZ
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-24 02:50 UTC by Michal Jaegermann
Modified: 2008-01-05 13:49 UTC (History)
2 users (show)

Fixed In Version: 5.5.25
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-05 13:49:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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