Fedora yum update fails

Sometimes, when you want to update your Fedora packages with :
yum update

the process fails with an error message similar to:


Error: Cannot retrieve repository metadata (repomd.xml) for repository:
rpmfusion-free-updates. Please verify its path and try again

The first solution (permanent) is to change your yum repository file in /etc/yum.repo.d .

A second (temporary) solution is to use the yum option –disablerepo. To solve the issue related to the example above, type


sudo yum --disablerepo=rpmfusion-free-updates --disablerepo=rpmfusion-nonfree-updates --disablerepo=rpmfusion-free update

Please follow and like us:
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

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