Hi Olaf,

>  On the 550 with the problem when I run:
>
> rpm --rebuilddb
>
> It finishes pretty much instantly.  When I run it on a 550 that
> successfully installs packages it actually lags a bit -- it looks like
> it's doing something.  The rpm version on both is 3.0.6
>
> I had tried extracting the rpm from a package and installing the rpm
> manually, but I get the following error:
>
> [root pkg]# rpm -hUv RPMS/pine-4.56-C2.i386.rpm
> error: failed dependencies:
>          ld-linux.so.2 is needed by pine-4.56-C2
>          libc.so.6 is needed by pine-4.56-C2
>          libcrypt.so.1 is needed by pine-4.56-C2
>          libncurses.so.4 is needed by pine-4.56-C2
>          libc.so.6(GLIBC_2.0) is needed by pine-4.56-C2
>          libc.so.6(GLIBC_2.1) is needed by pine-4.56-C2
>          libcrypt.so.1(GLIBC_2.0) is needed by pine-4.56-C2
>
> I'm able to locate files with those names on machine, so I'm a bit
> confused.  Is there a handy way for me to reinstall rpm on the machine
> or should I be looking at something else? 

Well, it appears that the box is pretty hosed then. 

First of all, lets do a bit of debugging and let's try to rebuild the RPM 
database with verbose outputs. Maybe we see an error message which helps us 
to spot where and why RPM barfs:

Try "rpm --rebuilddb -vv"

Short of an OS restore reinstalling the RPM for rpm-3.0.6 is what I'd do. 
However, this might turn out into a catch22 situation as you might be unable 
to fix a broken RPM command by installing a "good" rpm-3.0.6-6x.i386.rpm with 
the broken RPM command that you currently have aboard. 

For what it's worth I'd try these commands to reinstall a good RPM:

rpm -hUv --force --nodeps 
ftp://ftp.cobalt.com/pub/products/raq550/RPMS/rpm-3.0.6-6x.i386.rpm

rpm -hUv --force --nodeps 
ftp://ftp.cobalt.com/pub/products/raq550/RPMS/rpm-build-3.0.6-6x.i386.rpm

rpm -hUv --force --nodeps 
ftp://ftp.cobalt.com/pub/products/raq550/RPMS/rpm-devel-3.0.6-6x.i386.rpm

rpm -hUv --force --nodeps 
ftp://ftp.cobalt.com/pub/products/raq550/RPMS/rpm-python-3.0.6-6x.i386.rpm

Then try a "rpm --rebuilddb" again and see if that works.

If all that fails, then you might want to copy the RPM command "/bin/rpm" over 
from a good RaQ550 and try again.

But as said: At first you should attempt to run RPM in verbose mode to see why 
it bugs out so royally.

-- 

With best regards,

Michael Stauber

_______________________________________________
Cobaltfacts mailing list posting/subscription services:
[EMAIL PROTECTED]
http://list.cobaltfacts.com/mailman/listinfo/cobaltfacts/

Search the Archives at:
http://list.cobaltfacts.com/

Visit Cobaltfacts on the web:
http://www.cobaltfacts.com/

Reply via email to