In Linux, the open-source yum is used to report the error checking Ming checksum.

Source: Internet
Author: User

 

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.

 

 

Google said that the repomd. xml file in RHEL 6 uses sha256 as the hash algorithm, and Sha is used as the hash algorithm by default in RHEL 5.

 

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. Small knowledge.

 

 

 

 

 

 

 

 

 

Bytes --------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

QQ: 251097186

Skype: tianlesoftware

Email: tianlesoftware@gmail.com

Blog: http://blog.csdn.net/tianlesoftware

WEAVER: http://weibo.com/tianlesoftware

Twitter: http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

LinkedIn: http://cn.linkedin.com/in/tianlesoftware

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.