[Yum] Corrupted yum via kill -9

James Antill james-yum at and.org
Sat Mar 27 13:59:52 UTC 2010


Kelly Jones <kelly.terry.jones at gmail.com> writes:

> I impatiently "kill -9"'d a yum process, and now this happens:
>
> # yum
> rpmdb: Thread/process 29876/3086329536 failed: Thread died in Berkeley
> DB library
> error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal
> error, run database recovery
> error: cannot open Packages index using db3 -  (-30974)
> error: cannot open Packages database in /var/lib/rpm
> /usr/lib/python2.6/site-packages/yum/config.py:884:
> DeprecationWarning: BaseException.message has been deprecated as of
> Python 2.6
>   raise Errors.YumBaseError("Error: " + e.message)
> CRITICAL:yum.main:
>
> Error: rpmdb open failed
>
> OK, bad move on my part, but how do I fix it?

 rm -f /var/lib/rpm/__db*
 rpmdb --rebuild

-- 
James Antill -- james at fedoraproject.org
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.27
http://yum.baseurl.org/wiki/YumMultipleMachineCaching


More information about the Yum mailing list