Bug 156901

Summary: xerces-j2 update fails
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: xerces-jAssignee: Gary Benson <gbenson>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-06 15:49:24 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:
Bug Depends On: 157045    
Bug Blocks:    

Description Michal Jaegermann 2005-05-05 01:06:43 UTC
Description of problem:

An attempt to update xerces-j2 package fails with:

/var/tmp/rpm-tmp.28106: line 3: rebuild-gcj-db: command not found
error: %post(xerces-j2-2.6.2-4jpp_4fc.x86_64) scriptlet failed, exit status 127

This scriplet does (on x86_64)

update-alternatives --install /usr/share/java/jaxp_parser_impl.jar \
  jaxp_parser_impl /usr/share/java/xerces-j2.jar 40
rebuild-gcj-db /usr/lib64

The trouble is that 'rebuild-gcj-db' is indeed not there and xerces-j2
is not dependent on some package which could provide this.  In an effect
one is left with remains of xerces-j2-2.6.2-4jpp_3fc and partially
installed xerces-j2-2.6.2-4jpp_4fc with both reported by rpm as present.

Version-Release number of selected component (if applicable):
xerces-j2-2.6.2-4jpp_4fc

Comment 1 Gary Benson 2005-05-06 12:52:14 UTC
Hmmm, the packages now have the relevant dependencies but rpm doesn't honour them.

Comment 2 Gary Benson 2005-05-06 15:49:24 UTC
Ok, FC4t3's rpm should honour them, closing...