CentOS: No file or directory: '/media/centos/repodata/repomd.xml

Source: Internet
Author: User
Yum Error:

* C5-media:
File:///media/CentOS/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] without that file or directory: '/media/centos/repodata/repomd.xml '
Trying other mirror.
File:///media/cdrecorder/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] without that file or directory: '/media/cdrecorder/repodata/ Repomd.xml '
Trying other mirror.
File:///media/cdrom/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] without that file or directory: '/media/cdrom/repodata/repomd.xml '
Trying other mirror.
Error:cannot Retrieve repository metadata (Repomd.xml) for Repository:c5-media. Please verify its path and try again

CentOS 5.2 CD after installation, install yum, configure/etc/yum.repos.d/centos-base.repo files,

Then execute yum Install * * *

The following error always occurs

File://media/centos_5.2_final/repodata/repomd.xml:[error 5] Oserror:[errno 2]

Trying other mirror.

Error:cannot Retrieve repository metadata (Repomd.xml) for Repository:c5-media.

Please verify its path and try again

---------------------------------------------------------

Problem reason:/ETC/YUM.REPOS.D directory configuration file

Centos-media.repo file affects Yum access source

Workaround: Delete the Centos-media.repo file

Retry Yum Install * * *

It's normal.

I turn from

Http://blog.sina.com.cn/s/blog_60e7f53b0100f63w.html

Related Article

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.