Yum Error message Error callback Ming checksum Solution
Currently, open-source yum has ustc and 163. If you download the repo file directly from the Internet, an error will be reported during the operation. You have manually modified it:
Ustc yum is used. The configuration file is as follows:
[Root @ web1 yum. repos. d] # cat ustc. repo
[Base]
CentOS-5.9-Base-mirrors.ustc.edu.cn
Baseurl = http://mirrors.ustc.edu.cn/centos/5.9/ OS /?basearch/
Gpgcheck = 0
Enabled = 1
# Released updates
[Updates]
Name = CentOS-5.9-Updates -mirrors.ustc.edu.cn
Baseurl = http://mirrors.ustc.edu.cn/centos/5.9/updates/?basearch/
Gpgcheck = 0
Enabled = 1
# Additional packages thatmay be useful
[Extras]
Name = CentOS-5.9-Extras -mirrors.ustc.edu.cn
Baseurl = http://mirrors.ustc.edu.cn/centos/5.9/extras/?basearch/
Gpgcheck = 0
Enabled = 1
After the configuration is complete, execute yum update and report the Error "Error configurming checksum ".
[Root @ web1 yum. repos. d] # yum update
Loaded plugins: katello, product-id, security, subscribe-manager
Updating certificate-based repositories.
Unable to read consumer identity
Base | 3.7 kB
Base/primary_db | 4.4 MB
Fail-3] Error occurred mingchecksum
Trying other mirror.
Base/primary_db | 4.4 MB
Fail-3] Error callback Ming checksum
Trying other mirror.
Error: failure: repodata/partition base: [Errno 256] No more mirrors to try.
In rhel6, The repomd. xml file uses sha256 as the hash algorithm. In rhel5, sha is used as the hash algorithm by default.
But I use 5.8 yum on redhat 5.9. This error also occurs.
The solution on the Internet is to use the new sha1 to reconstruct the repo:
# Createrepo-s sha1 dave-el5-x86_64
I have not created it here. Run the following command directly:
# Yum clean all
Then OK.