yum命令提示error: rpmdb: BDB0113 Thread/process,解决方法

Executing docker install script, commit: 3d8fe77c2c46c5b7571f94b42793905e5b3e42e4
sh -c ‘yum install -y -q yum-utils’
error: rpmdb: BDB0113 Thread/process 7689/140162110208064 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 – (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed

解决方法如下:

mv /var/lib/rpm/__db.00* /tmp/&&yum clean all

– 执行后会有如下提示:
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Cleaning repos: epel extras os updates
Cleaning up list of fastest mirrors
接下来即可正常使用

发布者:小站,转转请注明出处:http://blog.gzcity.top/4838.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022年12月15日 10:15
下一篇 2023年2月15日 20:49

相关推荐

  • Appium异常 Original error: Cannot find any free port in range 8200..8299

    Appium运行一段时间后就出现异常: log———> 2022-11-09 09:36:53 at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:94)log———> 2022-11-09 0…

    学习笔记 2022年11月9日
    1.5K2260
  • chrome怎么导入证书 chrome导入证书的图文步骤

    我们在使用谷歌浏览器时,有时需要导入证书,但是很多人不知道怎么操作,那么Google浏览器怎么导入证书呢,下面本文就介绍一下。 我的Chrome的版本是 1.首先,打开电脑上面的Google之后,点击浏览器右上角的“三个点”按钮,如图所示。 2.然后选择下拉菜单中的“设置”,进入Google的系统设置,如图所示。 3.进入Google的设置之后,点击&quo…

    2022年9月13日
    77810
  • 将本地jar包上传至Nexus

    其实上传jar包到Nexus有好几种方法,这里先来介绍一种比较简单的方法: 1.首先登陆私服: 2.点击左边“Repositories”,选中“3rd party” 上传本地jar包(第五步可根据需要自行修改): 2.点击头部Refresh按钮,检查是否上传成功,如下图表示上传成功: 4.本地pom.xml文件添加依赖: <dependency>…

    2022年5月16日
    14.5K26940
  • Git clone代码报“fatal: Out of memory, malloc failed (tried to allocate xxxx bytes)”的解决办法

    问题描述: 之前clone代码的时候一直没问题,今天clone代码的时候突然报错“fatal: Out of memory, malloc failed (tried to allocate 1058576000 bytes)”。 按报错的理解就是本机的内存不足了,查看了本机运行的服务和进程,没有可以停掉的服务和进程,那该怎么办呢? 查询资料都说的是因为GI…

    2023年3月21日
    11.0K15870
  • There is insufficient memory for the Java Runtime Environment to continue.

    [TRACE-ID:] 2022-08-01 10:56:10.984 DEBUG [bootstrap,,,] 28396 — [ main] eEncryptablePropertySourcesPostProcessor [ 78] : Application Event Raised: ContextRefreshedEvent# The…

    2022年8月1日
    61530

回复 Ремонт стиральных машин Indesit

您的邮箱地址不会被公开。 必填项已用 * 标注

评论列表(751条)