Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-21-2009, 10:55 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 26

Rep: Reputation: 0
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base.

Hi All,

I'm getting these errors when trying to update my packages through yum on a Centos 5.2 box: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

I've tried googling and looking at other people's similar problems. I have another box, a Centos 3.4 box that runs yum just fine.
Old 01-22-2009, 05:24 PM   #2
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
The address you have in your repo file is incorrect. You say you are running C5.2 but your repo file is pointing to C5. If that colon(on the end of the address above) is in your repo file it may also be causing problems.
Old 01-07-2010, 11:38 PM   #3
LQ Newbie
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Thumbs up Repo issue solved!

I find it neccessary to update this thread with a method I have just used to sort this issue.
1. Backup any repo file you have created incase you need it later, then run yum clear all (as an administrator/root), then create the cache file afresh with yum -y makecache
Restore your backed up repo files and you will be good to go. The Error should disappear.

I hope this will help you.

Old 05-06-2010, 03:46 AM   #4
LQ Newbie
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
Here's how I fixed in Fedora 12 - it's an ipv6 problem

Would you believe it's an ipv6 problem?
I'm running F12 X86_64 upgraded from F11.
The Yum problem [Cannot retrieve repository metadata (repomd.xml)] began after the F12 update and after the first yum update (installed 78 packages and updated 1742 more). THEN the (repmod.xml) problem.
I'm running off a ipv4 router so, have ipv6 disabled (I thought). But, in F12 it's different than in F11, it seems. So, here's what I did that disabled ipv6, and fixed the YUM problem. You don't need to modify /etc/hosts and all that other stuff above that didn't work for me.
1. disable the ipv6 firewall service [ipv6tables]
2. keep it off - #/sbin/chkconfig ip6tables off
3. Create a file under /etc/modprobe.d (e.g. “blacklist-ipv6.conf”) with the following 2 lines, in the order shown:
install ipv6 /bin/true
blacklist ipv6
4. add the following line to /etc/sysconfig/network
(mine had IPV6=no - that don't work, but I left it in there, too)
5. reboot YUM should work fine.
---------------here's the "remove ipv6" reference-------------

Think normal human beings will ever be able to use Fedora?
Old 07-19-2010, 08:42 PM   #5
LQ Newbie
Registered: Aug 2009
Location: Milwaukee, WI Area
Distribution: Fedora13 (06-09); ZorinOS (09-present)
Posts: 4

Rep: Reputation: 3
this same problem still exists with Fedora13. I followed patmcclung's solution to the letter and it worked! Thanks pat.

The question I have, is how vulnerable is my firewall for normal internet invasion now that I have followed this remedy?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 02:22 AM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 08:20 PM
update software in Fedora 9 can not retrieve repository metadata james2b Fedora 2 08-17-2008 12:12 PM
yum + Cannot open/read repomd.xml file for repository: update aeby Red Hat 1 12-19-2007 10:14 AM
Cannot open/read repomd.xml file for repository: crash-hat e_annoos_h Linux - General 1 09-09-2007 02:23 AM

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration