

Dockerfile YUM安装报错Rpmdb checksum is invalid: dCDPT(pkg checksums)
source link: https://www.ishells.cn/archives/docker-build-error
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


在构建canal adapt容器镜像的时候,RUN yum install kde-l10n-Chinese -y
报错:
Rpmdb checksum is invalid: dCDPT(pkg checksums): kde-filesystem.noarch 0:4-30.1.el6 - u The command '/bin/sh -c yum install kde-l10n-Chinese -y' returned a non-zero code: 1
Dockerfile使用的基础镜像是centos:6.7,搜索了一下,大家说是rpm库损坏了,需要重新构建一下,于是使用命令rpm --rebuilddb
重建库,例如:
RUN rpm --rebuilddb && yum install kde-l10n-Chinese -y
如上即可解决问题!
© 本文著作权归作者所有,转载前请务必署名
Recommend
-
38
Hi everyone This is a quick introduction into checksums, and practically how to use them, at the request of someone through the Ask Johno section of the blog. I know what a checksum is, but Read more…
-
131
原文地址: golang报错:net/http: invalid header field value "Basic 昨天被这个问题困扰了一天,今天终于找到问题了。 先说一下我这里的流程: 1....
-
23
Series Index Why and What
-
25
Group Replication enables you to create fault-tolerant systems with redundancy by replicating the system state to a set of servers. Even if some of the servers subsequently fail, as long it is not all or a majority, the...
-
18
Hash checksums: MD5, SHA-1, SHA-256 yourbasic.org/golang String checksum To compute the...
-
5
Napkin Problem 14: Using checksums to verify syncing 100M database records This is an edition of the Napkin Math newsletter, a newsletter about using napkin ma...
-
8
5 March 2021 / mac #Mac git命令报错 xcrun: error: invalid active developer path 某天,升级完MacOS到Big Sur 11.2.2,然后突然发现git不好用了...
-
10
使用 yum update 遇到 rpmdb open faild 真是活久见了,当我使用 yum update 命令的时候,发现竟然报错了: yum updateerror: rpmdb: BDB0113 Thread/process 4196/140144005...
-
1
Git archive checksums may change January 30, 2023 We are reverting this change for now. More details to follow....
-
6
Original text by Andrew Schwartz in
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK