rpm –rebuilddb

If you found error similar like this in Almalinux

mut_tas:172, pid: 658176, flag: 19
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
Error: Error: rpmdb open failed

Just using in below command

rpm –rebuilddb

Was this article helpful?

Related Articles