1. Download and install JPackage rpm (jpackage-release-5-4.jpp5.noarch.rpm) from JPackage site. This will add jpackage.repo to your /etc/yum.repos.d directory.
2. Use yum to search "ant.", you will see ant.noarch provided by JPackage repo in the list. But right now if you try to install it, the following error would occur.
Error: Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat
Check which package is providing rebuild-security-providers.
rpm -q --whatprovides /usr/bin/rebuild-security-providers jpackage-utils-1.7.3-1jpp.2.el5
jpackage-utils has been installed in the system.
Looks like this RedHat version of jpackage-utils doesn't work with this latest version of ant from JPackage.
Solution:
a. Uninstall jpackage-utils without uninstalling all the dependencies.
[user@localhost] sudo rpm -e --nodeps jpackage-utils-1.7.3-1jpp.2.el5
b. Install jpackage-utils (jpackage-utils-5.0.0-2.jpp5.noarch.rpm) from JPackage.
[user@localhost] sudo rpm -Uvh jpackage-utils-5.0.0-2.jpp5.noarch.rpm
c. Install ant.noarch
[user@localhost] sudo yum install ant.noarch
4 comments:
This worked like a charm for me. Thanks.
The part about "/usr/bin/rebuild-security-providers" was a nightmare until I tumbled unto your page. Thanks very much dude!
Thanks for your perfect post!
Excellent post really useful to me.Keep sharing your post with efficient news.
Software Testing Training in chennai | Testing Training chennai | Software Testing institutes in Chennai
Post a Comment