Solve the problem of cycling dependencies when installing RPM packages

Source: Internet
Author: User

When installing the RPM package on the Rhel, you may experience a problem with cyclic dependencies, such as: RPM Package 1 depends on package 2, package 2 depends on package 3, package 3 is dependent on package 1, as if there is no way to install it. Here's one example:

[Root@rhel rpm]# RPM-IVH mesa-libgl-devel-6.5.1-7.7.el5.x86_64.rpm

Warning:mesa-libgl-devel-6.5.1-7.7.el5.x86_64.rpm:header V3 DSA Signature:nokey, key ID 37017186

error:failed dependencies:

Libx11-devel is needed by mesa-libgl-devel-6.5.1-7.7.el5.x86_64

[Root@rhel rpm]# RPM-IVH libx11-devel-1.0.3-9.el5.x86_64.rpm

Warning:libx11-devel-1.0.3-9.el5.x86_64.rpm:header V3 DSA Signature:nokey, key ID 37017186

error:failed dependencies:

Libxdmcp-devel is needed by libx11-devel-1.0.3-9.el5.x86_64

Xorg-x11-proto-devel >= 7.1-2 is needed by libx11-devel-1.0.3-9.el5.x86_64

[Root@rhel rpm]# RPM-IVH libxdmcp-devel-1.0.1-2.1.x86_64.rpm

Warning:libxdmcp-devel-1.0.1-2.1.x86_64.rpm:header V3 DSA Signature:nokey, key ID 37017186

error:failed dependencies:

Xorg-x11-proto-devel is needed by libxdmcp-devel-1.0.1-2.1.x86_64

You have new mail in/var/spool/mail/root

[Root@rhel rpm]# RPM-IVH xorg-x11-proto-devel-7.1-9.fc6.x86_64.rpm

Warning:xorg-x11-proto-devel-7.1-9.fc6.x86_64.rpm:header V3 DSA Signature:nokey, key ID 37017186

error:failed dependencies:

Mesa-libgl-devel is needed by xorg-x11-proto-devel-7.1-9.fc6.x86_64

[Root@rhel rpm]# RPM-IVH mesa-libgl-devel-6.5.1-7.7.el5.x86_64.rpm

Warning:mesa-libgl-devel-6.5.1-7.7.el5.x86_64.rpm:header V3 DSA Signature:nokey, key ID 37017186

error:failed dependencies:

Libx11-devel is needed by mesa-libgl-devel-6.5.1-7.7.el5.x86_64

Article Source: http://www.codelast.com/

At this time, it would be nice to install these packages together:

RPM-IVH mesa-libgl-devel-6.5.1-7.7.el5.x86_64.rpm libx11-devel-1.0.3-9.el5.x86_64.rpm libxdmcp-devel-1.0.1-2.1.x86_64.rpm xorg-x11-proto-devel-7.1-9.fc6.x86_64.rpm mesa-libGL-devel-6.5.1-7.7.el5.x86 _64.rpm

Some people say to add--aid parameters, I can not add or pass.

Null

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.