Updating and deleting java (red hat / centos)
Posted
by
JochemTheSchoolKid
on Server Fault
See other posts from Server Fault
or by JochemTheSchoolKid
Published on 2012-12-01T22:47:12Z
Indexed on
2012/12/01
23:05 UTC
Read the original article
Hit count: 185
I am a total noob with linux. So please explain clearly if you have a solution for me. I have an VPS and I want to update JAVA. I found a guide on the Java site which says:
rpm -e < package_name >
I searched for the packages:
[root@srv1 ~]# rpm -qa | grep java
java_cup-0.10k-5.el6.x86_64
java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
Than I tried to do the delete command
[root@srv1 ~]# rpm -e java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
error: Failed dependencies:
java-gcj-compat is needed by (installed) java_cup-1:0.10k-5.el6.x86_64
java-gcj-compat >= 1.0.70 is needed by (installed) sinjdoc-0.5-9.1.el6.x86_64
What should I do now?
© Server Fault or respective owner