Yum installation and update prompt: rpmdb: Thread/process failed: Thread died in Berk

Source: Internet
Author: User

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 .*

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.