Tuesday, March 17, 2009

jpackage-utils incompatibility

If you receive the following error on CentOS 5 or RHEL 5 machine, chance are you have installed jpackage-utils from jpackage17-generic repository.

---> Package java-1.4.2-gcj-compat.x86_64 0:1.4.2.0-40jpp.115 set to be updated
--> Processing Dependency: /usr/bin/rebuild-security-providers for package: java-1.4.2-gcj-compat
--> Processing Dependency: /usr/bin/rebuild-security-providers for package: java-1.4.2-gcj-compat
--> Finished Dependency Resolution
Error: Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat


You have to pick either the jpackage-utils provided by the distro or the jpackage repo version due to incompatibility ( see http://www.redhat.com/archives/rhl-devel-list/2006-March/msg00723.html).

Try (at your own risk):
# rpm -e --nodeps jpackage-utils
# yum --disablerepo=jpackage-generic install jpackage-utils

Keep in mind, any packages which depend on the jpackage repo version of jpackage-utils might not work after the above change.

Cheers,
VVK

No comments:

Post a Comment