Why does yum index get corrupted?
- by TomOnTime
Occasionally yum's cache gets corrupted and we see errors like this:
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
The workaround is rm -f /var/lib/rpm/__db* and then the next "yum"…