Cannot open Packages database YUM error
I have different problem, but as it is related to yum update I am posting my question here.
I have tried to update yum on one of my VPS (with cpanel on it) and it run into error. Any help would be appreciated.
Error as below.
===========================================
rpmdb: Thread/process 29586/140397819602848 failed: Thread died in Berkeley DB library
error: db3 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
CRITICAL:yum.main:
Error: rpmdb open failed
==========================================
Thanks.
Kundan Sonawane
- Removed -
-
Hi, Try rebuilding RPM database: rm -f /var/lib/rpm/__db* db_verify /var/lib/rpm/Packages rpm --rebuilddb yum clean all 0 -
Hello, You can also try using the following option in Web Host Manager: "WHM Home " Software " Rebuild RPM Database" Thank you. 0
Please sign in to leave a comment.
Comments
2 comments