[[Email protected] ~] # Rpm-Qa | grep JDK
Java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
[[Email protected] ~] # Rpm e java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
Error: faileddependencies:
JRE> = 1.5.0 is needed by (installed) libreoffice-ure-1: 3.4.5.2-16. el6.x86 _ 64
Libjawt. So () (64bit) is needed by (installed) libreoffice-core-1: 3.4.5.2-16. el6.x86 _ 64
Libjawt. So (sunwprivate_1.1) (64bit) isneeded by (installed) libreoffice-core-1: 3.4.5.2-16. el6.x86 _ 64
From the above we can see that there is a dependency package to delete the java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64, so the deletion Error
Solution:
[[Email protected] ~] # Rpm -- nodeps-e java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
[[Email protected] ~] # Rpm-Qa | grep JDK
[[Email protected] ~] #
Jian a Chen
Source: http://blog.csdn.net/awenluck/article/details/39368687
The copyright of this article is shared by the author and csdn. You are welcome to repost it. However, you must retain this statement without the author's consent and provide the original article connection clearly on the article page. Otherwise, you will be entitled to pursue legal liability.
Delete dependency package command