On the CentOS system, an error is reported when using the yum command to install the package
rpmdb: Thread/process 6539/140448388269824 failed: Thread died in Berkeley DB library
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
CRITICAL:yum.main:
The reason is that the RPM database is damaged
Restore to normal after rebuilding the database:
cd /var/lib/rpm/
for i in `ls | grep 'db.'`;do mv $i $i.bak;done
rpm --rebuilddb
yum clean all
Read More:
- Use yum to prompt Error: rpmdb open failed
- yum Times Error: rpmdb open failed solution
- VirtualBox failed to start, prompt failed to open a session for the virtual machine windoze 7
- Linux uses open source Yum to report error performing checksums
- OpenProj can’t open or prompt “Failed to load Java VM Library” error solution
- Zend studio HTML error prompt close, PHP “error prompt” open and close the correct way
- VMware virtual machine prompt: locking file failed, unable to open the disk solution
- Unity3d open prompt failed to initialize unity graphic
- After Android studio is installed, open a pop-up window to prompt failed to load JVM DLL XXX
- [turn] right click to open the prompt [shellexecute failed (2): is this command correct? (fix)] with Notepad + +
- PS open prompt AMT subsystem failure solution
- Visual studio 2017 can’t open, prompt this app can’t run on your PC
- Vs error prompt: “unable to open source file XXXX. H” possible reasons and Solutions
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- Command prompt window prompt system error 5, access denied?
- One of the configured repositories failed (Unknown), and yum doesn’t have enough cached data to cont
- New user’s shell, delete prompt ^ H, up and down prompt ^ A ^ B, tab key is useless
- Git push failed, prompt unpack error / unpack failed solution
- Win10 system virtual machine installation of Ubuntu system failed, prompt: UBI language failed with exit code 1
- Error reporting in CentOS 7 using yum