Posts Uncategorized

Fedora 11 – Error: “Cannot retrieve repository metadata (repomd.xml)”

To fix this error you will need to edit some of the repo files located in /etc/yum.repos.d/ heres how:

su -
cd /etc/yum.repos.d/
gedit fedora.repo

In here you are going to want to remove the comments ‘#’ from the lines beginning with baseurl and then comment out the lines beginning with mirrorlist. Now do the same for the file fedora-updates.repo in the same directory.

gedit fedora-updates.repo

Finally you want to add two lines to /etc/hosts file:

gedit /etc/hosts
add these two lines to the bottom of this file:

Now try yum update if the error doesn’t show it worked! :)

3 replies on “Fedora 11 – Error: “Cannot retrieve repository metadata (repomd.xml)””

Leave a Reply

Your email address will not be published. Required fields are marked *