Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Based on the answer to a similar question (CentOS) I have installed the jPackage .repo file and attempted sudo yum install tomcat6. I am met with the following error messages:

--> Finished Dependency Resolution
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

I found a site stating that perhaps installing rpm-build was the solution to all my problems, but that was not the case – it's already installed.

I'd prefer to keep the package managed by a package manager (yum). Any experience with getting this to work?

The RHN packages only include Tomcat5. For reference this is RHEL 5.5 on Rackspace servers, to be used with Django/Solr/Haystack for site search. Moving from previous hosting on Ubuntu 10.04 LTS where the site was hosting/built with Tomcat6.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I've had the same problem today. My solution was to just install the missing RPM by hand:

rpm -Uvh https://github.com/downloads/pallet/pallet/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm

No more problems after that.

share|improve this answer
    
Link seems to be dead. Found a copy at github.com/downloads/pallet/pallet/… –  Nic Cottrell Jun 4 '12 at 13:32
    
Thank, updated. Stupid link rot :) –  Bart De Vos Jun 4 '12 at 13:44
1  
Two years on, I just realized that this had a new answer. And it's better than my previous solution. Accepted answer updated. –  Bryson Feb 22 '13 at 18:55

I was able to get Tomcat6 installed by first installing Tomcat5 from the RHN repository, which installed all dependencies successfully. After that, from the jPackage repo I installed the 1.6.0 version of the JDK, and then Tomcat6. I consider this to be an extremely dirty solution but since it works, I can't really argue with that.(Unless I find conflicts in the future.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.