Re: Corrupted yum via kill -9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kelly Jones <kelly.terry.jones@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.27
http://yum.baseurl.org/wiki/YumMultipleMachineCaching
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux