While I'm trying to install a program using yum, yum was locked by another process then i had to freed it by sending it SIGKILL, and after that i passed my program to yum to install it then ... OPS !! yum is displaying a fatal error
tried too many solution like cleaning up the yum's DB and it didnt solve it and in the end i fixed the problem by cleaning the RPM's DB and rebuild it again.
"error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed"
tried too many solution like cleaning up the yum's DB and it didnt solve it and in the end i fixed the problem by cleaning the RPM's DB and rebuild it again.
$ sudo rm -rf /var/lib/__db*
$ sudo rpm --rebuilddb
$ reboot # i had to reboot to solve it as well.
No comments:
Post a Comment