Yum command Error error: cannot retrieve repository metadata (repomd. XML)

Source: Internet
Author: User

[Root @ localhost/] # Yum groupinstall Virtualization
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Rpmforge: APT. Sw. be
* Base: ftp.isu.edu.tw
* Updates: Data. nicehosting. co. kr
* Addons: ftp.isu.edu.tw
* Extras: ftp.isu.edu.tw
Http://developer.centos.org/centos/5.5/updates/ I #/rpms/repodata/repomd.xml: [errno 14] HTTP Error 404: not found
Trying other mirror.
Error: cannot retrieve repository metadata (repomd. XML) for repository: gitco. Please verify its path and try again

My system is centos 5.3. This error surprised me!

After careful check, it is found that the baseurl in the update source has an error.

To install the new xen version, I added an xen. Repo under ETC/yum. reppos. d/. The baseurl in the file is wrong.

Of course, baseurl errors in the CentOS-Base.repo can also cause such errors.

If you think the official source speed is not fast enough, you can add a baseurl to the repo file and comment out the original:

Base url = http://ftp.sjtu.edu.cn/centos/5/ OS /i386/

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.