LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 04-20-2010, 11:14 PM   #1
varunkrishna
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
Cannot retrieve repository metadata in Fedora 11


Description of problem:Cannot retrieve repository metadata (repomd.xml) for
repository: fedora. Please verify its path and try again
 
Old 04-21-2010, 02:47 AM   #2
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 389

Rep: Reputation: 46
Possible solutions, in no particular order, assuming you're trying to update system.

1. Wait a short while and try again. Sometimes the repositories seem unresponsive.

2. Could be a proxy issue?

3. Could be a DNS problem?

4. Open a terminal and try
Code:
su -c 'yum clean all'
su -c 'yum check-update'
5. Open a terminal and try
Code:
su -c 'yum clean all'
su -c 'rm -rf /var/lib/rpm/__db*'
su -c 'rpm --rebuilddb'
su -c 'yum check-update'
6. Something wrong with a particular mirror that it's trying to access? When yum hesitates or lags try hitting CTRL/C to force it to move to the next mirror in the mirrorlist.

Just a few thoughts "off the top of my head".
 
0 members found this post helpful.
Old 04-21-2010, 04:23 AM   #3
varunkrishna
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
I have tried Yum update, it doesnt seem to work. The most important thing is when I accessed the base url in "system32/yum.repos.d/fedora.repo" using browser, I could access it. But it doesnt seem to work when trying to use yum or other such applications
 
Old 04-21-2010, 04:35 AM   #4
varunkrishna
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
@Glennzo could you elaborate on what exactly yu mean by proxy issues. Actually my internet connection is through a proxy; is that affecting the connection
 
Old 04-21-2010, 07:26 AM   #5
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 389

Rep: Reputation: 46
If you're behind a proxy you need to configure yum to get through that proxy. From what I've read you add a few lines to the bottom of the file /etc/yum.conf. Try adding these, changing them to reflect your user name / password.
Code:
proxy=http://your.proxy.name:1234
proxy_username=your_domain\your_username
proxy_password=your_password
If that doesn't work Google "yum proxy". There's a ton of info out there.
 
1 members found this post helpful.
Old 04-21-2010, 11:07 PM   #6
varunkrishna
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Ya i tried that and My issue is solved, thanx a ton
 
Old 05-06-2010, 02:48 AM   #7
patmcclung
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
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
NETWORKING_IPV6=no
(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-------------
http://eldapo.lembobrothers.com/2010/04/09/disabling-ipv6-in-rhel-5-4-and-fedora-12/

Think normal human beings will ever be able to use Fedora?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 4 07-19-2010 07:42 PM
Error: Cannot retrieve repository metadata (repomd.xml) on fresh Fedora 11 install nilytiby Linux - Newbie 7 05-06-2010 02:51 AM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 01:22 AM
update software in Fedora 9 can not retrieve repository metadata james2b Fedora 2 08-17-2008 11:12 AM


All times are GMT -5. The time now is 12:18 AM.

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