Re: rpm database corrupted, how to recover?

Torrey Hoffman <[email protected]> Wed, 12 Nov 2003 15:37:36 -0800
Newsgroups gmane.linux.redhat.rhl.beta,gmane.linux.redhat.fedora.general,gmane.linux.redhat.fedora.testers
Message-ID <[email protected]>
On Wed, 2003-11-12 at 14:23, Alexandre Oliva wrote:
> On Nov 12, 2003, Torrey Hoffman <[email protected]> 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 <[email protected]>


--
fedora-test-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/fedora-test-list