After installing software using the source yum in linux today, the system prompts rpmdb: Thread/process 10646/3086534416 failed: Thread died in Berkeley DB library .. an error occurred. Let's take a look at the solution to this problem.
After yum install soft
The following error occurs: rpmdb: www. bKjia. c0m Thread/process 10646/3086534416 failed: Thread died in Berkeley DB library
Cause Analysis
If the RPM database is damaged, all software upgrades, installation, or even deletion may occur. If the terminal is garbled, YUMEX cannot be used, and RPM commands cannot be used. The reason is that the RPM database is damaged.
Su-root
Cd/var/lib/rpm/
For I in 'ls | grep 'db. ''; do mv $ I. bak; done # Back up www. bKjia. c0m
Rpm -- rebuilddb # rebuild the database (rebuild the database indices from the installed package headers)
Yum clean all
Note the difference: -- rebuilddb: re-build the installed RPM database, -- initdb: Create a New RPM Database
My solution
In this case, you need to clear the temporary files of the following rpm
# Rm-fr/var/lib/rpm/_ db .*