记录一个rpm db错误

执行rpm安装卸载还是yum都报错
rpmdb: PANIC: fatal region error detected; run recovery
error: db3 error(-30974) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery

解决办法
rm /var/lib/rpm/__db*
rpm �Crebuilddb
yum clean all


你可能感兴趣的:(error,rpm,rpmdb)