LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-25-2009, 10:48 AM   #1
ukwho
Member
 
Registered: Feb 2009
Posts: 37

Rep: Reputation: 15
Cannot retrieve repository metadata (repomd.xml) for repository


Hello,

I have updated from F10 to F11.

When I tired to do an update I got the following error:
Code:
# yum update
Loaded plugins: dellsysidplugin2, refresh-packagekit
Could not retrieve mirrorlist http://poptop.sourceforge.net/yum/stable/mirrorlist-poptop-stable-fc11 error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot retrieve repository metadata (repomd.xml) for repository: poptop-stable. Please verify its path and try again
I have been searching for an answer and I found some solutions on the Internet. However, it didn't work for me and I get the above error, when I changed my repos files to what I have below.

This is my fedora.repos
Code:
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://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=https://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=https://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
This is my fedora-update.repos
Code:
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
And finally my hosts
Code:
# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1		localhost.localdomain localhost steve01
::1		localhost6.localdomain6 localhost6
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
Many thanks for any advice,
 
Old 06-27-2009, 12:44 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i take it you did not fallow the fedora instructions and used "preupgrade" ???

i would just do a fresh install of fedora 11
 
Old 06-28-2009, 11:26 AM   #3
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
What is the output of:

# yum repolist
 
Old 06-29-2009, 11:55 AM   #4
ukwho
Member
 
Registered: Feb 2009
Posts: 37

Original Poster
Rep: Reputation: 15
Hello,

I am manage to solve my problem using this post:
http://forums.fedoraforum.org/showthread.php?t=224852

However, John was up I did use preupgrade. Why did that cause a problem here?

This is the output for yum repolist. However, I am new to linux. What does this mean?
Code:
yum repolist
Loaded plugins: dellsysidplugin2, refresh-packagekit
repo id                repo name                                 status
adobe-linux-i386       Adobe Systems Incorporated                enabled:     17
fedora                 Fedora 11 - i386                          enabled: 13,289
rpmfusion-free         RPM Fusion for Fedora 11 - Free           enabled:    377
rpmfusion-free-updates RPM Fusion for Fedora 11 - Free - Updates enabled:    110
updates                Fedora 11 - i386 - Updates                enabled:  2,355
repolist: 16,148
Many thanks,

Steve

Last edited by ukwho; 06-29-2009 at 11:59 AM.
 
Old 06-29-2009, 12:46 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I have never had a fedora "upgrade" work right . the best option is to do a fresh install .
 
Old 06-29-2009, 01:02 PM   #6
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
The 'yum repolist' is supposed to show you which repositories YUM will use. I was expecting to see some other repository listed (ie. 'poptop'). It looks as though the poptop repository was ready for F10, but not F11.

Even though I don't think your problems were caused by the upgrade. I do agree with John VV, Fedora functions much better via fresh install. It seems as upgrades always leave certain issues behind.
 
Old 07-04-2009, 03:41 AM   #7
spleach
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Hi,
I've been having the same problem. The yum repositories did not transfer correctly when I upgraded from F10 to F11 either, which wasted over a day of my time For the record, I didn't upgrade via yum; a window popped-up asking if I wanted to upgrade to a stable release of F11. A couple of mouse clicks and an hour later I had F11, but yum didn't work...
The poptop-stable repo is installed with pptp, and can be found at:-
/etc/yum.repos.d/pptp.repo
I'm not a guru so didn't delete it (or use yum --disablerepo), but I changed the file to read: "enabled=0", and then the problem went away.
At this point I created another problem though. I'd disabled nearly all of my repos, making yum update not do anything. So I re-enabled all except pptp.repo, and the problem reappeared.
I've been looking for a default F11 repo list, but to no avail.
However, you should disable all the rawhide repos, as they try to update to F12 releases.
i.e. change enabled=1 to enabled=0 in the following files:
/etc/yum.repos.d/fedora-rawhide.repo
/etc/yum.repos.d/rpmfusion-free-rawhide.repo
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo
and this one too:
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo

Hope that works for anyone else with this problem too...
 
  


Reply

Tags
f11, update



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 Doug.Gentry Linux - Software 3 07-06-2009 07:34 PM
FC10 installation failed due to "Cannot retrieve repository metadata (repomd.xml)" poipoi1 Fedora - Installation 1 03-17-2009 10:22 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 - Distributions > Fedora

All times are GMT -5. The time now is 08:26 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