LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-12-2010, 08:09 AM   #1
nilytiby
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Unhappy Error: Cannot retrieve repository metadata (repomd.xml) on fresh Fedora 11 install


I've just installed Fedora 11 and I can't install anything using yum
Code:
[root@localhost /]# yum install dhcp*
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
I tried yum clean all but it didn't make sense
Code:
[root@localhost /]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@localhost /]# yum update
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
This is my repo
Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

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


[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Anyone can help me? Thank you so much
 
Old 01-12-2010, 01:49 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
It sounds like some piece of information is going down incorrectly.

I would suggest the problem is occurring with something in the following line.

mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch

My guess would be that $releasever or $basearch might be set wrong for some reason.
 
Old 01-12-2010, 10:31 PM   #3
nilytiby
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Well, how can I correct it? Sorry because I'm a new one in Linux. Thanks
 
Old 01-13-2010, 05:21 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Not sure on that one myself I am afraid, I do not know where this information is drawn from. It might require some basic scripting knowledge to find out. I suspect one of the variables is stored wrong. It appears these are just configuration files and so I doubt scripting can be done here, I don't know where the scripting file is, this might need someone more familiar with how YUM works then myself.
 
Old 01-14-2010, 07:55 AM   #5
nilytiby
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I also thought that there were something wrong. But, I don't what it is exactly. I searched ways on Internet, but they didn't make sense. I'm really depressed
 
Old 01-14-2010, 08:08 AM   #6
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
Silly question, I'm sure - but has the new Fedora install got internet connectivity?
 
Old 01-15-2010, 12:42 PM   #7
nilytiby
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I had
 
Old 05-06-2010, 02:51 AM   #8
patmcclung
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 1
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...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



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
Cannot retrieve repository metadata (repomd.xml) revathskumar Linux - Newbie 3 09-22-2009 04:04 AM
Cannot retrieve repository metadata (repomd.xml) for repository ukwho Fedora 6 07-04-2009 03:41 AM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 01:22 AM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration