rpm database corrupted, how to recover?

Torrey Hoffman thoffman at arnor.net
Wed Nov 12 23:37:36 UTC 2003


On Wed, 2003-11-12 at 14:23, Alexandre Oliva wrote:
> On Nov 12, 2003, Torrey Hoffman <thoffman at arnor.net> wrote:
> 
> > While installing some rpms from FreshRPMs.net on my system, rpm
> > segfaulted.  It seems to have corrupted the database in the process, and
> > now all rpm commands hang.
> 
> rm -f /var/lib/rpm/__db*
> rpm --rebuilddb
> 

Thanks very much, that worked.  Can I suggest that rpm --rebuilddb be
changed to do that automatically, so it doesn't just hang in this
situation?

Thanks again for the quick response.

-- 
Torrey Hoffman <thoffman at arnor.net>





More information about the fedora-test-list mailing list