Check RPM database?

Sam Varshavchik mrsam at courier-mta.com
Wed Nov 15 23:53:55 UTC 2006


Tony Nelson writes:

> Is there a way to check the RPM database for validity?  I know how to
> rebuild it, and where it is stored, and that when yum says that the
> database is corrupt that I must do something about it, but is there a way
> to test it before total failure?

Well, "rpm -q -a -V" is going to go and read pretty much all the bits in the 
rpm database.  If something's busted, you're likely going to hit it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061115/ae34b179/attachment-0001.sig>


More information about the fedora-list mailing list