Error cannot retrieve repository metadata repomd.xml for repository

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

Done.

Advertisements

5 thoughts on “Error cannot retrieve repository metadata repomd.xml for repository

  1. Tardif says:

    J’ai exactement le même probleme, j’ai essayé de modifier les fichier etc / yum.repos.d / fedora.repo et / etc / yum.repos.d Fedora-updates.repo, mais on m’affiche
    “permission non autorisé”
    Peut on m’eclairer pour acceder à la requete ?

  2. govath says:

    Try this:
    cat /etc/profile.d/proxy.sh
    export http_proxy=http://domain.com:80
    export https_proxy=http://domain.com:80
    export ftp_proxy=http://domain.com:80
    export HTTP_PROXY=http://domain.com:80
    export HTTPs_PROXY=http://domain.com:80
    export FTP_PROXY=http://domain.com:80
    also add to vim /etc/yum.conf
    proxy=http://domain.com:80

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s