Tuesday, June 22, 2010

jPackage ant dependency fix

I need Ant package to try the Liferay theme development, I found the jPackage has most Java related rpm, install jPackage is easy.

http://www.jpackage.org/yum.php

When add Ant, I got dependency error
/usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386

After search over Google, I found the solution here:
http://www.cpurigs.com/forums/showthread.php?t=4770

1. Remove jpackage-utils and tell it to ignore dependencies: rpm -e jpackage-utils --nodeps
2. Install the version offered through the standard repos: yum install jpackage-utils
3. Update everything else: yum update

Now I can install Ant from jPackage.

No comments:

Post a Comment