Red Hat Bugzilla – Bug 156901
xerces-j2 update fails
Last modified: 2007-11-30 17:11:05 EST
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
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):
Hmmm, the packages now have the relevant dependencies but rpm doesn't honour them.
Ok, FC4t3's rpm should honour them, closing...