failed dependency in Centos 4 x86_64 repository

Support for the other architectures (X86_64, s390(x) and PowerPC)
Post Reply
d_allison
Posts: 5
Joined: 2007/01/02 23:50:11
Location: Palo Alto, CA

failed dependency in Centos 4 x86_64 repository

Post by d_allison » 2007/01/08 05:24:11

Running

yum groupinstall "Development Tools"

fails with

elfutils-libelf-devel-0.9 100% |=========================| 7.3 kB 00:00
---> Package elfutils-libelf-devel.x86_64 0:0.97.1-3 set to be updated
--> Running transaction check
--> Processing Dependency: udapl = 1.2-0.4265.2.EL4 for package: udapl-devel
--> Finished Dependency Resolution
Error: Missing Dependency: udapl = 1.2-0.4265.2.EL4 is needed by package udapl-devel

Moreover, it is not clear how to handle the failed dependency. I was able to find and download an appropriate rpm from Cern, but it is not clear how to make it available to yum.

In any case, this is a problem with the repository and ought to be fixed.

d_allison
Posts: 5
Joined: 2007/01/02 23:50:11
Location: Palo Alto, CA

Re: failed dependency in Centos 4 x86_64 repository

Post by d_allison » 2007/01/08 05:40:01

Note that:

[root]# yum search udapl
Searching Packages:
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files


udapl.x86_64 1.2-0.4265.2.EL4 installed
Matched from:
udapl
udapl is both a specification and a library that allows userspace
processes to use generic RDMA networking protocols without needing
to be aware of or program to the underlying hardware implementation.


udapl-devel.x86_64 1.2-0.4265.2.EL4 installed
Matched from:
udapl-devel
Development files for udapl
Static libraries and header files for the udapl library.

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

failed dependency in Centos 4 x86_64 repository

Post by Lenard » 2007/01/08 12:08:12

Running in a multi-lib or mixed mode environment (32 and 64 bit) is somewhat of a problem with yum when it comes to installing or removing packages. Sometimes it takes a bit of human effort and help, try reducing the number of packages being installed at one time.

First run; yum update
Then try installing udapl; yum install udapl udapl-devel
Finally the development tools; yum groupinstall "Development Tools"

d_allison
Posts: 5
Joined: 2007/01/02 23:50:11
Location: Palo Alto, CA

Re: failed dependency in Centos 4 x86_64 repository

Post by d_allison » 2007/01/10 23:23:07

Thanks for the assist. I followed your suggestion and when I did a

yum update

Things went along pretty well until a network error aborted the update. I restarted it and it completed but left me with a large number (>30) of failed dependencies. In all cases it appears that there is both an x86 and an x86_64 version of the rpm. I presume that I need to explicitly specify updates to the x86_64 versions in order to work around this problem. If that is the case, it seems to me that yum need a bit of work...

Lenard
Posts: 2283
Joined: 2005/11/29 02:35:25
Location: Indiana

Re: failed dependency in Centos 4 x86_64 repository

Post by Lenard » 2007/01/11 02:07:56

I hate when that happens myself.............

Clean yum's cache; yum clean all
Delete the /var/cache/yum directory; rm -R /var/cache/yum
And start again

d_allison
Posts: 5
Joined: 2007/01/02 23:50:11
Location: Palo Alto, CA

Re: failed dependency in Centos 4 x86_64 repository

Post by d_allison » 2007/01/11 03:11:13

PROBLEM RESOLVED. Yum is unable to resolve some dependencies on its own. Reported problems can be resolved by removing the package with the failed dependency and then reinstalling.

pjwelsh
Posts: 2589
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: failed dependency in Centos 4 x86_64 repository

Post by pjwelsh » 2007/01/11 05:06:08

Yeah, that kinda pain with yum at this time. You can work around with a little work. Throw on the arch option like:
yum install compat-libstdc++-33.x86_64

rpm -q compat-libstdc++-33
compat-libstdc++-33-3.2.3-47.3
compat-libstdc++-33-3.2.3-47.3

rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" compat-libstdc++-33
compat-libstdc++-33-3.2.3-47.3.i386.rpm
compat-libstdc++-33-3.2.3-47.3.x86_64.rpm

Post Reply