Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Up2date 1

Status
Not open for further replies.

pcunix

MIS
Dec 16, 2001
868
US
I've never had a problem before with "up2date" until now, but..

The dependencies check fails with the complaint that no package provides librpmio.so.0

Well, in fact librpmio.so.0 is already present in /usr/lib. According to rpm, it isn't installed, and if I do an rpm -q -f on it, I learn that it belongs to rpm-4.0.2-8

OK, rpm-4.0.4 is what up2date shows it wants to install. Here's where I start getting really confused: if I look at

ftp://ftp.redhat.com/pub/redhat/redhat-7.1-en/os/i386/RedHat/RPMS/

there's just rpm-4.0.2, not 4.0.4.

Now, my /bin/rpm belongs to rpm-4.0.2-8 and if it were not installed I think I'd have just a little difficulty knowing that :)


But I downloaded the 4.0.2-8 again, and did a rpm -i --force of it.

An rpm -q of librpmio still says it is not installed

I'm out of ideas..
Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Hi,

Well, rpm-4.0.4 provides :

librpm-4.0.4.so
librpmbuild-4.0.4.so
librpmdb-4.0.4.so
librpmio-4.0.4.so
rpm = 4.0.4-7x

( rpm -qp --provides rpm-4.0.4-7x.i386.rpm )

But, on my RH7.1, librpmio.so.0 is required by :

rpm-4.0.2-8
rpm-python-4.0.2-8
gnorpm-0.96-1
kdeadmin-2.1.1-3
ucd-snmp-4.2-12
ucd-snmp-utils-4.2-12
rpm-build-4.0.2-8

(rpm -q --whatrequires librpmio.so.0 )

'rpm -q --whatprovides librpmio.so.0' gives :

rpm-4.0.2-8

and so on...

So, its the usual catch-22 scenarios with rpm. Presumably, the up2date database has got incomplete dependency information on this on - for example up2date itself needs the rpm-python rpm. I'd get hold of the following three 4.0.4 rpms :

rpm
rpm-build
rpm-python

and try to upgrade them together

# rpm -Uvh rpm*.rpm

or possibly has you have forced already :

# rpm -Uvh --replacepkgs rpm*.rpm

You will probably get more dependency errors which you just have to work through and get the 'missing' rpms. For example, on my 7.1 it needs a new 'popt' rpm - version 1.6.4 as well. Thats is addition to the gnorpm etc. rpms mentioned above which presumably only require librpmio-4.0.4.so . ( haven't tried !)

Hope this helps








 
I basically had to do what you suggested (plus popt) but had to add a --nodep to get it to work. That's a liitle scary when replacing rpm itself, but I held my breath and it worked :)

After that, "up2date" works normally.

Thanks for your help and here's a star. Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top