error: rpmdb: BDB0113 Thread/process 20702/139826260486208 failed: BDB1507 Thread died in Berkeley D
Failed Error in thread Process
2023-09-11 14:22:54 时间
error: rpmdb: BDB0113 Thread/process 20702/139826260486208 failed: BDB1507 Thread died in Berkeley DB libraryerror: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recoveryerror: cannot open Packages index using db5 - (-30973)error: cannot open Packages database in /var/lib/rpmCRITICAL:yum.main:
Linux Centos7 使用yum
出错error: rpmdb: BDB0113 Thread/process 20702/1…
用yum
安装tmux的时候出现上述错误,如下图:
出现这个以后,是因为rpm数据库损坏
,那么接下来解决办法就是重建rpm数据库
。步骤如下:
1.首先进入 /var/lib/rpm
中,然后我们可以通过ls
命令看一下里面的东西。很明显可以看到有__db.xxx
的文件.
2.那么我们接下来就是要把这些文件删掉,命令是
rm -rf __db*
3.做完上述两步以后,我们要进行对rpm
重建:
rpm --rebuilddb
上述步骤如下图:
执行完上述后,你就可以用yum install
进行相关软件的安装了。
相关文章
- 报错:Failed with exception java.io.IOException:java.lang.RuntimeException: Error in configuring object
- 解决错误 sh: 0: getcwd() failed: No such file or directory
- 【node-sass】 Module build failed: Error: ENOENT: no such file or directory, scandir 'C:UserslizhaohongDesktoptestwebpacknode_modules.4.7.2@node-sassvendor'
- Error C1189 #error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll
- dockerd -D启动docker服务时报错”Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o docker0 -m conntrack iptables: No chain/target/match by that name”
- 解决K8s报错:Error: error installing: the server could not find the requested resource
- createError.js?2d83:16 Uncaught (in promise) Error: Request failed with status code 404 at creat
- Nginx 报错: nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory) 的解决方法
- 编译时弹出“configure: error: libtool configure failed
- 【FAQ】OpenHarmony开发板运行HAP应用,报错ERR_APPEXECFWK_INSTALL_FAILED_PARSE_DEVICETYPE_ERROR
- 【解决方案】ERROR: lib/bridge_generated.dart:837:9: Error: The parameter ‘ptr‘ of the method ‘FlutterRustB
- vscode cmake 插件 Acquisition Failed: Installation failed: Error: .NET installation timed out
- openharmony error: failed to install bundle. error: no signature file
- [已解决]报错:Failed to restart network.service: Unit network.service not found
- IIS OCIEnvCreate failed with return code -1
- com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method
- Solve Error: nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in libcpmt.lib(newaop.obj)
- xhprof查看性能测试图一直报错:failed to execute cmd: " dot -Tpng"多种因素解决方案
- 解决Nova ERROR nova.compute.manager ResourceProviderCreationFailed: Failed to create resource provider
- Yarn Register DNS失败报A fatal error has been detected by the Java Runtime Environment或 Failed to write
- HandleServiceCommands: system error caught. error code=1072, message = CreateService failed: unknow
- 解决浏览器console控制台报错 : Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR(SSL协议错误)
- [转载]Linux libusb "LIBUSB_ERROR_ACCESS" libusb_open返回值为-3 error解决方法