yum db error - what to do?

Rick Stevens rstevens at vitalstream.com
Thu Feb 1 19:11:43 UTC 2007


On Thu, 2007-02-01 at 10:50 -0800, alan wrote:
> On Thu, 1 Feb 2007, Dave Stevens wrote:
> 
> > trying to do yuom install scribus I get this:
> >
> > Component: Software Installer
> > Summary: TB6b5e0e87 config.py:661:_getsysver:TypeError: rpmdb open
> > failed
> 
> This is one of two problems.
> 
> Either it is the rpm locking problem (which is a known issue).  Reboot the 
> machine and see if the problem goes away.  If it does, then it is a known 
> issue.
> 
> I have also seen some problems where yum errors out.  Running "yum clean 
> all" seems to fix the problem.
> 
> If those two fail try "rpm --rebuilddb".

I'd recommend an "rm -rf /var/lib/rpm/__db*" (two underscores) before
the "rpm --rebuilddb".

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    "Hello. My PID is Inigo Montoya.  You `kill -9'-ed my parent    -
-                     process.  Prepare to vi."                      -
----------------------------------------------------------------------




More information about the fedora-list mailing list