Introductions:
Its been quite a while when Fedora Team had release a new OS/platform-version 14.Yet, some of the configuration for "yum" installations issues can not be resolved and the caused is the incorrect path of its mirrors and base url-(servers).And if it's left unconfigured then it seemed that you have not installed OS-useless!
So upon stumbled on this site,I now resolve this problem ever-hopefully.
http://digitizor.com/2009/06/17/how-to-fix-the-cannot-retrieve-repository-metadata-repomd-xml-error-in-fedora-11/
The recently released Fedora 14 Leonidas has some issues with it’s regular update process. Many users are getting a strange error which complains about the inability of the update system to retrieve the repository metadata, namely repomd.xml. You can see the error as attached in this inlet below:
Objective:
1)To resolve this errors
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
Requirements
When we tried to install Fedora 14 for the first time, we also faced a similar problem. A quick twitter search brought us to a conclusion that we were not alone. But a little tweaking of a few system files brought us back on track. In this article we tell you, how to go about resolving the problem in case you face it too.
Methodology:
- You need to edit two of your repository files: /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo. Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist. This should be done for both the above files.
- Now edit your /etc/hosts file and append the following to it’s contents:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
The other solution if "respomd.xml errror" still occur , try to browse the fedora mirror site then you will be redirected to your nearest countries mirror site and used it as your new " baseurl" in /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo.
baseurl=http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/$releasever/Everything/$basearch/os/
Remarks:
0) Please note that specified port(port :number 80/8080) must be open to at your http_proxy or ftp_proxy , else error pycurl 6/error # 14 will occur again and again.
root@localhost# export http_proxy=http://10.36.129.X:8080
1)Now try updating your system or installing any software via Yum. You will see, the error is now resolved and the error message is not shown anymore.
2) and please try this command if there is a failure and trying to find other mirror/s.
root@localhost# yum --enablerepo=fedora clean metadata
3) The same procedure is also working with Fedora15
Conclusion:
This problem has now been resolved by the Fedora Community. But you may still not be able to download the updates properly from the mirrors due to the busy network and rush.
No comments:
Post a Comment