Delete dependency package command

Source: Internet
Author: User

[[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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.