Re: rpm database corrupted, how to recover?

"Doncho N. Gunchev" <[email protected]> Thu, 13 Nov 2003 17:02:59 +0200
Newsgroups gmane.linux.redhat.rhl.beta,gmane.linux.redhat.fedora.testers
Organization GlobalNet
Message-ID <200311131702.59178@-mr700>
On Thursday 13 November 2003 01:37, Torrey Hoffman wrote:
> 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.
btw: In most cases I only had to 'rm -f /var/lib/rpm/__db*'

No lock so far with Fedora for me ;) some segfaults with
rpmbuild, but no other problems... still testing it.

-- 
Regards,
  Doncho N. Gunchev


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