LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Cannot retrieve repository metadata (repomd.xml) for repository (http://www.linuxquestions.org/questions/fedora-35/cannot-retrieve-repository-metadata-repomd-xml-for-repository-735580/)

ukwho 06-25-2009 10:48 AM

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,

John VV 06-27-2009 12:44 AM

i take it you did not fallow the fedora instructions and used "preupgrade" ???

i would just do a fresh install of fedora 11

mjmwired 06-28-2009 11:26 AM

What is the output of:

# yum repolist

ukwho 06-29-2009 11:55 AM

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

John VV 06-29-2009 12:46 PM

I have never had a fedora "upgrade" work right . the best option is to do a fresh install .

mjmwired 06-29-2009 01:02 PM

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.

spleach 07-04-2009 03:41 AM

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 :mad: 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...


All times are GMT -5. The time now is 02:19 AM.