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