I'm getting an error when I try to update my system with yum: "failure: repodata/repomd.xml from base"
Linode
Linode Staff
I tried to run yum update
today, but I get this error:
Error importing repomd.xml for base: Damaged repomd.xml file
How can I fix this?
1 Reply
aorme
Linode Staff
It looks like there might have been a temporary issue with either the server or the mirror when yum tried to grab data. You could try to clear yum's cache and repo data, then reimport with yum update
First, try to clean Yum's cache (so that it has a reason to reimport)
$ yum clean all
Then (just to be safe), manually remove the cache. Yum should just recreate this on the next step.
$ rm -rf /var/cache/yum
Update!
$ yum update
Let us know if this sorts it out for you.