系统相关
首页 > 系统相关> > centos8:epel-release:dbenv->open:BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch

centos8:epel-release:dbenv->open:BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch

作者:互联网

在这里插入图片描述
centos8源码编译vpp执行make install-dep出现的问题同下。
进行yum install epel-releasec操作的时候出现图片上的问题:
RPM: error: db5 error(-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
RPM: error: cannot open Packages index using db5 – (-30969)
RPM: error: cannot open Packages database in /var/lib/rpm
The downloaded packages were saved in cache until the next successful transaction.

解决方法:
删除rpm管理数据库,然后重建

cd /var/lib/rpm
rm -rf __db.*
rpm --rebuilddb

然后重新yum install epel-releasec
在这里插入图片描述
OK!

标签:epel,rpm,RPM,mismatch,version,install,error,open
来源: https://blog.csdn.net/weixin_42736510/article/details/121516487