Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th January 2010, 02:46 PM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfedorafirefox
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.

This is on a brand new fedora 12 install. I did some searching, but none of the answers I found cured the problem.

[root@localhost ~]# yum update networkmanager
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

Here is my hosts file:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org

Here is my fedora-updates.repo file:

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

I don't see an obvious problem, but I've never had a problem with a fresh install like this before.
Reply With Quote
  #2  
Old 25th January 2010, 08:33 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
This turned out to be a DNS resolution issue for me also. But it was affecting yum and wget. I think I remember doing the host file thing, too (howto at digitizor.com, right?). And I think that worked (can't remember and notes on it gone). But I eventually found that simply entering DNS nameserver IP addresses for my connection in NetworkManager made the whole thing go away not only for yum but also for wget. I don't need to uncomment the baseurl lines in the repo files or add the repo IP addresses in /etc/hosts. Anyway, just FYI.

Last edited by stoat; 25th January 2010 at 08:54 PM.
Reply With Quote
  #3  
Old 26th January 2010, 01:35 AM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfedorafirefox
Well yes, that is one of the sites I saw but it did not fix the issue. I saw a few forum postings as well but none of them seemed to be on fedora 12 installs.(not sure if that matters or not, but none of what I saw solved the issue)
Reply With Quote
  #4  
Old 26th January 2010, 03:36 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
I guess you tried yum clean all.

Can you ping those IP addresses?

Are you using a proxy server? That needs some configuration.
Reply With Quote
  #5  
Old 16th February 2010, 02:15 AM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfedorafirefox
This was just a few minutes ago. Yes, I can ping them. I have no proxy server. Just a home cable internet setup with a simple router. Yum works on other computers.

[root@localhost user]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@localhost user]# yum update
Loaded plugins: refresh-packagekit
adobe-linux-i386 | 951 B 00:00
adobe-linux-i386/primary | 12 kB 00:00
adobe-linux-i386 17/17
fedora | 4.2 kB 00:00
fedora/primary_db | 9.7 MB 01:26
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386 error was
14: HTTP Error 503 : http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again

[root@localhost user]# ping -c 5 80.239.156.215
PING 80.239.156.215 (80.239.156.215) 56(84) bytes of data.
64 bytes from 80.239.156.215: icmp_seq=1 ttl=52 time=212 ms
64 bytes from 80.239.156.215: icmp_seq=2 ttl=52 time=212 ms
64 bytes from 80.239.156.215: icmp_seq=3 ttl=52 time=206 ms
64 bytes from 80.239.156.215: icmp_seq=4 ttl=52 time=217 ms
64 bytes from 80.239.156.215: icmp_seq=5 ttl=52 time=211 ms

--- 80.239.156.215 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4217ms
rtt min/avg/max/mdev = 206.492/212.294/217.648/3.581 ms
[root@localhost user]# ping -c 5 213.129.242.84
PING 213.129.242.84 (213.129.242.84) 56(84) bytes of data.
64 bytes from 213.129.242.84: icmp_seq=1 ttl=47 time=236 ms
64 bytes from 213.129.242.84: icmp_seq=2 ttl=47 time=227 ms
64 bytes from 213.129.242.84: icmp_seq=3 ttl=47 time=242 ms
64 bytes from 213.129.242.84: icmp_seq=4 ttl=47 time=237 ms
64 bytes from 213.129.242.84: icmp_seq=5 ttl=47 time=237 ms

[root@localhost user]# ping -c 5 google.com
PING google.com (74.125.159.103) 56(84) bytes of data.
64 bytes from yi-in-f103.1e100.net (74.125.159.103): icmp_seq=1 ttl=53 time=93.5 ms
64 bytes from yi-in-f103.1e100.net (74.125.159.103): icmp_seq=2 ttl=53 time=102 ms
64 bytes from yi-in-f103.1e100.net (74.125.159.103): icmp_seq=3 ttl=53 time=102 ms
64 bytes from yi-in-f103.1e100.net (74.125.159.103): icmp_seq=4 ttl=53 time=100 ms
64 bytes from yi-in-f103.1e100.net (74.125.159.103): icmp_seq=5 ttl=53 time=100 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4105ms
rtt min/avg/max/mdev = 93.542/99.901/102.981/3.360 ms
[root@localhost user]# ping -c 5 mirrors.rpmfusion.org
PING mirrors.rpmfusion.org (213.129.242.84) 56(84) bytes of data.
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=1 ttl=47 time=237 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=2 ttl=47 time=236 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=3 ttl=47 time=232 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=4 ttl=47 time=238 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=5 ttl=47 time=237 ms

--- mirrors.rpmfusion.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4239ms
rtt min/avg/max/mdev = 232.687/236.464/238.093/1.950 ms
[root@localhost user]# ping -c 5 download.fedoraproject.org
PING wildcard.fedoraproject.org (80.239.156.215) 56(84) bytes of data.
64 bytes from mirrors.fedoraproject.org (80.239.156.215): icmp_seq=1 ttl=52 time=212 ms
64 bytes from mirrors.fedoraproject.org (80.239.156.215): icmp_seq=2 ttl=52 time=206 ms
64 bytes from mirrors.fedoraproject.org (80.239.156.215): icmp_seq=3 ttl=52 time=230 ms
64 bytes from mirrors.fedoraproject.org (80.239.156.215): icmp_seq=4 ttl=52 time=221 ms
64 bytes from mirrors.fedoraproject.org (80.239.156.215): icmp_seq=5 ttl=51 time=227 ms

--- wildcard.fedoraproject.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4230ms
rtt min/avg/max/mdev = 206.397/219.583/230.755/9.107 ms
Reply With Quote
  #6  
Old 16th February 2010, 02:56 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by hlfmanhlfamzng

Yum works on other computers.
But now it works for two repos on this computer before getting plowed under by rpmfusion. It didn't work at all before. That 503 error is usually a temporary server side thing. Try it again. It's working here. Or, as an experiment, try disabling rpmfusion and see if it will update from everything else...
Code:
su
yum --disablerepo=rpmfusion* update
P.S.: Have you been modifying the repo files? You did that to the fedora repo file previously (uncommented the baseurl line which is normally commented). Maybe you busted something in the rpmfusion repo files.

Last edited by stoat; 16th February 2010 at 03:01 AM.
Reply With Quote
  #7  
Old 17th February 2010, 11:20 AM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfedorafirefox
If I remember correctly, all I did was add rpm fusion as an alternate repo, but maybe I did mess with that file and damage something. I don't think I did, because the other site didn't say that needed to be editted.

------------Or, as an experiment, try disabling rpmfusion and see if it will update from everything else...-----------

That code seemed to work. It's finally showing me a list of update files.

I'll try doing a full update and posting later. Thanks. Maybe I'll completely remove rpmfusion as a repo and re install it and see what I get.

---------- Post added 2010-02-17 at 06:02 AM CST ---------- Previous post was 2010-02-16 at 07:21 PM CST ----------

Alright. I followed the instructions in the following thread to remove rpmfusion repo:

http://forums.fedoraforum.org/showpo...45&postcount=9

Here is what I have:

[root@localhost ~]# rpm -ivh http://download1.rpmfusion.org/free/...ble.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/...ble.noarch.rpm
warning: /var/tmp/rpm-tmp.gNSqSK: Header V3 DSA signature: NOKEY, key ID 49c8885a
Preparing... ########################################### [100%]
1:rpmfusion-free-release ########################################### [100%]
[root@localhost ~]# rpm -ivh http://download1.rpmfusion.org/nonfr...ble.noarch.rpm
Retrieving http://download1.rpmfusion.org/nonfr...ble.noarch.rpm
warning: /var/tmp/rpm-tmp.VjX5ur: Header V3 DSA signature: NOKEY, key ID b1981b68
Preparing... ########################################### [100%]
1:rpmfusion-nonfree-relea########################################### [100%]
[root@localhost ~]# yum install vlc
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386 error was
14: HTTP Error 503 : http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
[root@localhost ~]# ping -c 5 mirrors.rpmfusion.org
PING mirrors.rpmfusion.org (213.129.242.84) 56(84) bytes of data.
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=1 ttl=47 time=190 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=2 ttl=47 time=192 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=3 ttl=47 time=186 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=4 ttl=47 time=193 ms
64 bytes from mirrors.rpmfusion.org (213.129.242.84): icmp_seq=5 ttl=47 time=343 ms

--- mirrors.rpmfusion.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4344ms
rtt min/avg/max/mdev = 186.069/221.161/343.702/61.321 ms
[root@localhost ~]# yum install vlc
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386 error was
14: HTTP Error 503 : http://mirrors.rpmfusion.org/mirrorl...a-12&arch=i386
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again

I don't know what to make of this.

---------- Post added at 06:20 AM CST ---------- Previous post was at 06:02 AM CST ----------

*sigh* Forgot to comment the rpmfusion repo files per the digitizor link.

baseurl
#mirrorlist

Someone needs to fix all this so that it's commented properly at install time via the server. good grief, what a hassle
Reply With Quote
  #8  
Old 17th February 2010, 03:03 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by hlfmanhlfamzng

Someone needs to fix all this so that it's commented properly at install time via the server. good grief, what a hassle
Well, maybe. But what you are experiencing is not normal. I am not experiencing it, and I never even have to look at the repo files.

One last idea. I just removed and re-installed the rpmfusion repos here, too. But there is an update for those after installing per the RPM Fusion instructions. I also updated just those two rpms before doing a general update (which worked fine). Try this now...
Code:
su
yum update rpmfusion*
After that, if it worked, try your vlc package again.

P.S.: I still think this issue here may be a DNS resolution issue as I said previously (as opposed to an issue with yum or repo files). After all, that's what that digitizor.com business was all about. I did that, too, when I first encountered this immediately after installing Fedora 12. But I also still think entering DNS nameserver IP addresses in NetworkManager (or whatever is controlling your connection) is the best answer. It worked for me anyway. And if you were to botch those /etc/host lines, or if something related to them changes, then trouble might follow. If you decide to try DNS nameserver IP addresses, you should probably undo the changes to /etc/hosts, too.

Last edited by stoat; 17th February 2010 at 06:26 PM.
Reply With Quote
  #9  
Old 17th February 2010, 03:38 PM
zmdmw52's Avatar
zmdmw52 Offline
Registered User
 
Join Date: Dec 2007
Posts: 83
linuxubuntufirefox
This might help:

Code:
# rm -f /var/lib/rpm/__db.*
# rpm --rebuilddb
(Command to rebuild RPM database)
__________________
Linux User 483705 @ http://counter.li.org
Smolt Profile (Fedora 12 Desktop PC)


Reply With Quote
  #10  
Old 21st February 2010, 12:49 PM
hlfmanhlfamzng's Avatar
hlfmanhlfamzng Offline
Registered User
 
Join Date: Jul 2004
Location: Arris Dome
Posts: 216
linuxfedorafirefox
Thanks guys, it is working now. I just don't know why it didn't work right out of the box, even after adding comments and rebooting a few times. Oh well.
Reply With Quote
  #11  
Old 11th March 2010, 04:06 AM
mohdrizal's Avatar
mohdrizal Offline
Registered User
 
Join Date: Oct 2009
Posts: 27
linuxfedorafirefox
Re: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.

i got same problem.

I try edit yum repo. change mirror address https to http. Its work..
Reply With Quote
Reply

Tags
error, fedora, metadata, repomdxml, 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 and Live Media 9 27th June 2009 06:05 AM
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
Error: Cannot retrieve repository metadata (repomd.xml) apocalyptic Using Fedora 10 19th June 2008 05:31 AM


Current GMT-time: 17:47 (Friday, 24-05-2013)

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