Toshiro wrote:
El mar, 12-11-2002 a las 16:50, Todd Lyons escribi�:

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

David Guntner wrote on Tue, Nov 12, 2002 at 10:38:04AM -0800 :

There doesn't seem to be a recover option for rpm. "rpm --rebuilddb" gets that same error message. Anyone know what needs to be done to repair the RPM database?
I've seen others say this:

rm -f /var/lib/rpm/__*
                     ^^
                       \_ Did you really mean that (the underscores) or
was it a typo?

Toshiro

$ rpm -ql rpm
[..]
/var/lib/rpm/__db.001
/var/lib/rpm/__db.002
/var/lib/rpm/__db.003
/var/lib/rpm/__db.004

These last files, iianm, are used as lock files when rpm is running. If rpm crashes or is exited uncleanly and they get left, they can screw up any rpm-related program. If rpm is not running, delete any of these files and rpm --rebuilddb to solve a number of package manager failures.


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

Reply via email to