yum - problem with dependencies

Timothy Murphy tim at birdsnest.maths.tcd.ie
Sat Mar 19 16:35:49 UTC 2005


<posted & mailed>

I was trying to "yum update" on a machine which had not been updated
for some time, and I came across the following puzzling problem.

When I ran "yum update" I was told that a more recent version of db4
was required than can be found in the core or update repositories.
The reason for this is that my repositories are "infected" by
rawhide rpm's which I installed at some time in the past.

In any case, I ran "yum --enablerepo=development install db4"
and this duly installed db4-4.3.so and related files.

However, when I ran "yum update" again,
I still got the same dependency errors:
=======================================
--> Running transaction check
--> Processing Dependency: libdb-4.3.so for package: kdesdk
--> Processing Dependency: db4 >= 4.3 for package: openoffice.org
--> Processing Dependency: libdb-4.3.so for package: db4-utils
--> Processing Dependency: db4 = 4.3.27-2 for package: db4-devel
--> Processing Dependency: libdb_cxx-4.3.so for package: openoffice.org-libs
--> Processing Dependency: libdb-4.3.so for package: apr-util
--> Processing Dependency: libdb-4.3.so for package: httpd
--> Processing Dependency: db4 = 4.3.27-2 for package: db4-utils
--> Processing Dependency: libdb-4.3.so for package: perl
--> Processing Dependency: libdb-4.3.so for package: sendmail
--> Processing Dependency: libdb-4.3.so for package: python
--> Finished Dependency Resolution
Error: missing dep: libdb-4.3.so for pkg kdesdk
Error: missing dep: db4 >= 4.3 for pkg openoffice.org
Error: missing dep: libdb-4.3.so for pkg db4-utils
Error: missing dep: db4 = 4.3.27-2 for pkg db4-devel
Error: missing dep: libdb_cxx-4.3.so for pkg openoffice.org-libs
Error: missing dep: libdb-4.3.so for pkg apr-util
Error: missing dep: libdb-4.3.so for pkg httpd
Error: missing dep: db4 = 4.3.27-2 for pkg db4-utils
Error: missing dep: libdb-4.3.so for pkg perl
Error: missing dep: libdb-4.3.so for pkg sendmail
Error: missing dep: libdb-4.3.so for pkg python
=======================================

What baffles me is that these library files _are_present,
having been supplied by the db4 rpm:
=======================================
[tim at william ~]$ locate libdb-4.3
/usr/lib/libdb-4.3.so
/usr/lib/libdb-4.3.a
/usr/lib/libdb-4.3.la
/usr/lib/tls/i486/libdb-4.3.so
/usr/lib/tls/i586/libdb-4.3.so
/usr/lib/tls/i686/libdb-4.3.so
/lib/libdb-4.3.so
/lib/tls/i486/libdb-4.3.so
/lib/tls/i586/libdb-4.3.so
/lib/tls/i686/libdb-4.3.so
==========================================
and both /usr/lib/libdb-4.3.so and /lib/libdb-4.3.so
come from the db4 rpm, as "rpm -ql db4" shows.

I ran ldconfig in case that was the problem,
but this did not improve matters.

Can anyone throw light on this mystery?


- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the fedora-list mailing list