RPM dependencies and XFree86

John Reynolds jreyn at us.ibm.com
Tue Jun 22 18:38:16 UTC 2004


The indefatigable Rick Stevens explained :

<major snip attack on listings>
>> What happens:
>> [root at hplinux2 ia64]# rpm -Uvh --force XFree86*
>> error: Failed dependencies:
>>         XFree86-libs-data = 4.3.0-55.EL is needed by (installed) 
>> XFree86-libs-4.3.0-55.EL
>> [root at hplinux2 ia64]# 
>> 
>> I've been pondering using '--nodeps', but various sources suggest 
staying 
>> away from that at all costs.
>
>Generally speaking, the "--force" is the dangerous one.  In your case,
>you have a circular dependency.  To resolve this, you can either specify
>the two problem children on the command line:
>
>                rpm -Fvh XFree86-libs-4.3.0-62.EL.ia64.rpm \
>                                XFree86-libs-data-4.3.0-62.EL.ia64.rpm
>
>Or use "--nodeps" to wildcard JUST those two:
>
>                rpm -Fvh --nodeps XFree86-libs*

This worked!

and then
                                                                   rpm 
-Fvh *.rpm

took care of all the rest of it.
>
>Note that I prefer "Fvh" to "Uvh", as "Fvh" only updates stuff that's
>previously installed.  "Uvh" will not only update, but install stuff
>that isn't already there.

Noted and appreciated!  Thanks!

John Reynolds





More information about the Redhat-install-list mailing list