-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks all.  I will keep your suggestions in my good-to-know file.  As it 
turns out, I didn't have to do any of this stuff, at least this time or 
exactly as suggested.

I had tried running rebuilddb several times which produced a spike of CPU 
activity followed by nothing.  I had then tried installing several rpms with 
the same result as I described previously.  As a user I could get individual 
rpms to show up (ie, "rpm -q kdebase" would work).  I could even do this as 
root.  If I tried a broader query (rpm -qa|grep <search term>) I would get 
nada.

Ultimately, I rebooted after all this.  I then found that root and user were 
able to query the database and install rpms again.  At this point I don't 
know if my repeated --rebuilddb attempts actually worked but stalled before 
closing the process or what, but it is working again for now.

praedor

On Friday 07 March 2003 09:15 am, Tom Brinkman wrote:
> > On Thursday 06 March 2003 03:42 pm, Praedor Atrebates wrote:
> > > Mandrake 9.0.  I was just trying to run a search for lesstif (rpm
> > > -qa|grep lesstif) and found myself waiting forever for an answer.
> > >  I then just downloaded the lesstif rpm and tried to install it.
> > >  Nothing. It does the "preparing" thing but just stalls and never
> > > gets anywhere. I then tried running "rpm --rebuilddb" and via
[...]
> > > What do I do to get rpm working again?  What file do I delete
> > > (database, config, whatever) so I can reset the whole mess with
> > > an "rpm --rebuild"?
>
>    rm -f /var/lib/rpm/__db.*
>                      (^^, that's two underscores)
>    rpm --rebuilddb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+aK5jaKr9sJYeTxgRAp4mAKCGagdWXA5CX4XdhHlm7sNh/fqyDACeLCUN
9E2UIkGnmLuLGAbgruFxULY=
=ss+/
-----END PGP SIGNATURE-----

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to