Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 6th July 2009, 11:05 PM
coffee412 Offline
Registered User
 
Join Date: Aug 2005
Location: Ask the Government.
Posts: 444
Solved.

I went back and reread the posts in this thread and substituted the ipaddresses in the /etc/hosts file.
I made no other changes. This worked. Im considering this work around as solving the problem for now until yum is figured out up the line.

Add this below to your hosts file and give it a try:

Quote:
209.132.176.120 download.fedoraproject.org
209.132.176.120 mirrors.fedoraproject.org

192.150.18.37 linuxdownload.adobe.com
193.28.235.40 rpm.livna.org

193.28.235.60 download1.rpmfusion.org
213.129.242.84 mirrors.rpmfusion.org
coffee
__________________
Fedora20 AMD X6 1090T - 8GIG RAM - Nvidia GTX-650 - LXDE. Linux since 1995 - No Gnomes allowed.
Mythbuntu - Mythtv .27 - AMD 6core- 8 gigs ram Nvidia GTX-650 Ceton 4 port tunner
Mint 17 64bit - Dual Core AMD 5200 2gig ram -GT 9400
Galaxy Blaze 4G ICS ClockworkMOD :)
Reply With Quote
  #17  
Old 7th July 2009, 11:37 AM
BenTrein Offline
Registered User
 
Join Date: Sep 2008
Location: Thailand
Age: 37
Posts: 355
This solved my problem for updates, and perhaps other yum things. EasyLife (don't blame me for being lazy!) is still not working, because it can't find loonyspooky.com or whatever the url is. Any sollution for that around?
__________________
Greetz (and thanks for all the help!)
BenTrein

The internet isn't a highway, it's a swamp. The more you surf the more it draws you in!

Great authors suffer from Writer's Block. I cherrish my Writer's Blog!
Reply With Quote
  #18  
Old 16th July 2009, 07:02 PM
SpuriousQ Offline
Registered User
 
Join Date: Jul 2009
Posts: 59
Red face

Quote:
Originally Posted by coffee412 View Post
I went back and reread the posts in this thread and substituted the ipaddresses in the /etc/hosts file.
I made no other changes. This worked. Im considering this work around as solving the problem for now until yum is figured out up the line.

Add this below to your hosts file and give it a try:



coffee

How can I edit the /etc/hosts file... It seems that I don't have permissions for it.
Reply With Quote
  #19  
Old 16th July 2009, 07:32 PM
coffee412 Offline
Registered User
 
Join Date: Aug 2005
Location: Ask the Government.
Posts: 444
You have to be root to edit it.

Quote:
su <enter>
__________________
Fedora20 AMD X6 1090T - 8GIG RAM - Nvidia GTX-650 - LXDE. Linux since 1995 - No Gnomes allowed.
Mythbuntu - Mythtv .27 - AMD 6core- 8 gigs ram Nvidia GTX-650 Ceton 4 port tunner
Mint 17 64bit - Dual Core AMD 5200 2gig ram -GT 9400
Galaxy Blaze 4G ICS ClockworkMOD :)
Reply With Quote
  #20  
Old 17th July 2009, 07:56 AM
Panoz Offline
Registered User
 
Join Date: Jul 2009
Posts: 66
You forgot the new problem that Fedora 11 has brought to all users using a proxy connection settings. They have moved the mirrorlist to HTTPS from HTTP used in previous versions. That causes issues with http_proxy or even proxy configuration variable of yum. It simply does not work.

https://bugzilla.redhat.com/show_bug.cgi?id=484491
https://bugzilla.redhat.com/show_bug.cgi?id=487101

Setting https_proxy might be a workaround. It didn't work on me however, and I have chosen the solution to remove all HTTPS references and replace them with HTTP. baseurl can also work, but it's better to have the mirror list option.
__________________
Disc space -- the final frontier!
Reply With Quote
  #21  
Old 18th July 2009, 07:04 PM
meatsack Offline
Registered User
 
Join Date: Jul 2007
Posts: 41
Bug update:

Bug 504951 has been flagged as a duplicate of bug 505105

It would appear progress is being made on a fix and is in testing right now.

Meatsack
Reply With Quote
  #22  
Old 20th July 2009, 04:47 PM
jfprieur Offline
Registered User
 
Join Date: Aug 2008
Location: Montreal, QC, CAN
Age: 44
Posts: 61
Just to give some troubleshooting info, I was having this error as well. I edited the hosts file, everything worked fine after that except the rpmfusion repos for which I had to do the extra step of commenting out the mirrorlist and use baseurl for yum not to give me the "cannot retrieve metalink..." error. The fedora repos work fine with the mirrorlist entry.

I still get a lot of mirror errors like these though:

Code:
[root@iron yum.repos.d]# yum check-update
Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
updates/metalink                                                                                 | 4.0 kB     00:00     
 * fedora: fedora.mirror.iweb.ca
 * updates: less.cogeco.net
rpmfusion-free                                                                                   | 3.3 kB     00:00     
rpmfusion-free/primary_db                                                                        | 322 kB     00:00     
rpmfusion-free-updates                                                                           | 3.8 kB     00:00     
rpmfusion-free-updates/primary_db                                                                | 119 kB     00:00     
rpmfusion-nonfree                                                                                | 3.3 kB     00:00     
rpmfusion-nonfree/primary_db                                                                     |  79 kB     00:00     
rpmfusion-nonfree-updates                                                                        | 3.8 kB     00:00     
rpmfusion-nonfree-updates/primary_db                                                             |  39 kB     00:00     
http://less.cogeco.net/ftp/fedora/linux/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirror.cogentco.com/pub/linux/fedora/linux/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirrors.kernel.org/fedora/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirrors.cat.pdx.edu/fedora/linux/updates/11/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
updates                                                                                          | 4.4 kB     00:00     
updates/primary_db                                                                               | 2.9 MB     00:04     
[root@iron yum.repos.d]#
So to be clear, after editing the hosts file with the IP addresses given above for the various repos, the fedora repos work with the mirrorlist URL while rpmfusion only works with the baseurl URL in the repo config files. Below is an example of if I use the mirrorlist URL in the rpmfusion repo config files

Code:
http://mirror.liberty.edu/pub/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirrors.tummy.com/mirrors/rpmfusion.org/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://lordmorgul.net/pub/fedora/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirrors.cat.pdx.edu/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
http://mirror.web-ster.com/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
Hope this is helpful.
Reply With Quote
  #23  
Old 21st July 2009, 07:03 PM
meatsack Offline
Registered User
 
Join Date: Jul 2007
Posts: 41
Quote:
Originally Posted by meatsack View Post
Bug update:

Bug 504951 has been flagged as a duplicate of bug 505105

It would appear progress is being made on a fix and is in testing right now.

Meatsack

Around and Around we go.

So, Bug 504951 has been reopned . . . this bug is for dns resolution issues for x86_64 bit system.

As per the bug, the fix is as follows:

Quote:
First:
install nss-mdns (I have installed only i586 on fedora x86_64, should be
installed x86_64 too)
yum install nss-mdns

Second:
edit /etc/nsswitch.conf
Change line:
hosts: files mdns4_minimal [NOTFOUND=return] dns
to:
hosts: files mdns4_minimal dns

Please note that bug 505105 is dns issues regarding glibc in standard 32 bit versions.

Meatsack
Reply With Quote
  #24  
Old 2nd October 2009, 07:58 AM
axskycip Offline
Registered User
 
Join Date: Oct 2009
Posts: 1
windows_xp_2003firefox
209.132.176.120 download.fedoraproject.org
209.132.176.120 mirrors.fedoraproject.org

192.150.18.37 linuxdownload.adobe.com
193.28.235.40 rpm.livna.org

193.28.235.60 download1.rpmfusion.org
213.129.242.84 mirrors.rpmfusion.org
Reply With Quote
  #25  
Old 4th October 2009, 08:33 PM
alexuk Offline
Registered User
 
Join Date: Aug 2008
Location: London, UK
Posts: 69
linuxfedorafirefox
Oh, not again!

> sudo yum clean all
Loaded plugins: dellsysidplugin2, fastestmirror, protectbase, refresh-packagekit
Cleaning up Everything
Cleaning up list of fastest mirrors
> sudo yum update
Loaded plugins: dellsysidplugin2, fastestmirror, protectbase, refresh-packagekit
Determining fastest mirrors
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
Reply With Quote
  #26  
Old 2nd November 2009, 10:22 AM
jideck Offline
Registered User
 
Join Date: Sep 2008
Posts: 30
linuxfedorafirefox
Yum

had also problem with YUM becouse one of repositories was wrong.
solution was to build new ones su -

U can look at mine fine working repos

/etc/yum.repos.d/rpmfusion-free-updates-testing.repo
/etc/yum.repos.d/fedora-updates.repo
/etc/yum.repos.d/google.repo
/etc/yum.repos.d/rpmfusion-nonfree.repo
/etc/yum.repos.d/skype.repo
/etc/yum.repos.d/rpmfusion-free-updates.repo
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo
/etc/yum.repos.d/fedora.repo
/etc/yum.repos.d/rpmfusion-free.repo
/etc/yum.repos.d/adobe-linux-i386.repo
/etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
/etc/yum.repos.d/freshrpms.repo
/etc/yum.repos.d/fedora-rawhide.repo
/etc/yum.repos.d/rpmforge.repo
/etc/yum.repos.d/rpmfusion-free-rawhide.repo
/etc/yum.repos.d/fedora-updates-testing.repo
/etc/yum.repos.d/rpmfusion-nonfree-updates.repo


If .repos are OK make a backup of them and install new fresh YUM

U can follow this howtos

http://www.fdcservers.net/vbulletin/...php/t-376.html
Reply With Quote
  #27  
Old 4th March 2010, 06:24 PM
rbrogers Offline
Registered User
 
Join Date: Mar 2010
Posts: 1
linuxfedorafirefox
My issue was my firewall was blocking https, fix:

pop open /etc/yum.repos.d/*

change the mirror list from https to http.
Reply With Quote
  #28  
Old 12th April 2010, 05:36 AM
arirushan Offline
Registered User
 
Join Date: Dec 2007
Posts: 27
linuxsafari
Re: NOTE: Cannot retrieve metalink for repository: fedora ERROR

I had same problem too.
My solution was to remove rpmfusion entry.

The problem happened after some yum update I have did.
Now if I do yum update again, it will also include some F12, F13, F14 which I have to remove manually, because I will not resolve.

Problem is in some yum update, but I don't know which.
Reply With Quote
  #29  
Old 1st January 2011, 02:07 AM
vitorxa Offline
Registered User
 
Join Date: Jul 2010
Posts: 5
linuxfedorafirefox
Re: NOTE: Cannot retrieve metalink for repository: fedora ERROR

hi i got the same problem in myd esktop fedora 13 64

yum update
Loaded plugins: fastestmirror, presto, protectbase, refresh-packagekit
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again


i tried to follow all the tips here but still cant get it to work.in my laptop that is wireless fedora 13 64 too all works great.
hope someone can help.

cheers and happy new year.
Reply With Quote
  #30  
Old 30th January 2011, 12:10 PM
pgeorgep84 Offline
Registered User
 
Join Date: Jan 2011
Posts: 26
linuxfedorafirefox
Re: NOTE: Cannot retrieve metalink for repository: fedora ERROR

Hello,

Did anyone solved this problem? I have tried all the solutions proposed in this post but it didn't solved my problem.

I have edited /etc/yum.repos.d/fedora.repo, /etc/yum.repos.d/fedora-updates.repo and /etc/hosts but I receive the same error:

yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

I also tried to reinstall the repositories from http://rpmfusion.org/Configuration, but the links RPM Fusion free for Fedora 12, 13 and 14 and RPM Fusion nonfree for Fedora 12, 13 and 14 don't work.

Thank you for your support!
Reply With Quote
Reply

Tags
error, fedora, metalink, note, repository, retrieve

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora betsubetsu Using Fedora 50 15th October 2011 09:25 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository UK2 Installation, Upgrades and Live Media 9 27th June 2009 06:05 AM
Error: Cannot retrieve metalink for repository: fedora. betsubetsu Using Fedora 3 10th June 2009 02:52 PM
yum run with error,Cannot retrieve repository metadata (repomd.xml) for repository xtcsin Using Fedora 1 9th May 2009 10:45 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Pleas tmick Using Fedora 3 24th August 2008 07:52 PM


Current GMT-time: 09:09 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat