I am getting the below errors while executing the yum or rpm command.
error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 - (-30973) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed
I believe this was happening because of corrupted RPM DB. I have tried to execute yum or rpm commands after rebuilding the RPM database. On that time, it works properly. But after some days, the same error occurs again
Let me know how to fix this permanently.
Thanks in Advance,