Red Hat Bugzilla – Bug 429548
rpm doesn't depend on rpm-libs even links against it
Last modified: 2008-01-23 04:57:42 EST
Description of problem:
In centos4, rhel5:
tuju rpm -q --requires rpm | grep librpmio
tuju rpm -q --whatprovides librpmio
no package provides librpmio
tuju rpm -qf /usr/lib64/librpmio-4.3.so
tuju ldd `which rpm`|grep rpmio
librpmio-4.3.so => /usr/lib64/librpmio-4.3.so (0x000000344a900000)
So I guess rpm's deps are broken on these releases?
This is not the case in Fedora 8.
$ rpm -q --whatrequires "librpmio-4.4.so()(64bit)"
Not really nasty unless you update with yum step by step and miss
that both got updated at the same time,but you only pull rpm. Most
likely it would work, but anyway, I think this shouldn't be like
Actually it looks like the postgresql and postgresql-libs suffer this same.
$ ldd `which psql `
libpq.so.3 => /usr/lib64/libpq.so.3 (0x000000319b300000)
$ rpm -qf /usr/lib64/libpq.so.3
> tuju rpm -q --requires rpm | grep librpmio
> tuju rpm -q --whatprovides librpmio
> no package provides librpmio
Yup, no package provides "librpmio", you need to ask for the exact soname
rpm -q --whatprovides "librpmio-4.3.so()(64bit)"
This is what you're doing in the Fedora case, only the other way around (via
requires), hence the difference.
[pmatilai@localhost ~]$ rpm -q --requires rpm | grep librpmio
[pmatilai@localhost ~]$ rpm -q --whatrequires librpmio-4.3.so
No bug or broken dependencies here...
Yep, you're right. Anyway, I came across this when updating:
# yum update rpm
and it didn't pull the rpm-libs on centos4. Perhaps that yum version didn't
calculate the deps right there.