Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 19th June 2007, 03:22 AM
viiia Offline
Registered User
 
Join Date: Jun 2007
Posts: 1
F7 odd yum repository problem and fix

This is more of a solution post than a question, since I stumbled upon the answer after googling for hours (I didn't see this posted anywhere before) and staring and yum files. This problem is specific to Fedora 7 (it should be obvious in a minute why), and I might have been the only person in the world with this problem...

Initially I wanted to run pup (the Fedora software updater) but it would complain with a very misleading and otherwise uninformative message:

Quote:
Unable to retrieve software information. This could be caused by not having a network connection available. Details: None.
I decided to run yum on the command line instead, and I got a slightly more informative message:

Code:
[root@pu110769 yum.repos.d]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Error: Cannot open/read repomd.xml file for repository: updates
I tried a million things, but what fixed it was simply editing /etc/yum.repos.d/fedora-updates.repo, changing the two lines of the form

Code:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
into

Code:
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
the only difference being the removal of the letter C from fc (since the OS is now Fedora, not Fedora Core). Only this file exhibited this odd behavior, and I think the reason it wasn't properly modified during the Fedora 7 installation (I assume it should have) might have to do with a very problematic installation in which Anaconda kept running out of memory and crashed often (but that's a different problem, don't ask me about it here).

I also had a similar problem with pidgin:

Code:
[root@pu110769 yum.repos.d]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Error: Cannot open/read repomd.xml file for repository: pidgin
I'm not sure what the problem was in this case (maybe one of you can tell me), but in this case I used the workaround and set the line enabled to "enabled=0" in /etc/yum.repos.d/pidgin.repo . Now yum and pup are happy again! And I get updates! Hopefully this is helpful for somebody.

Last edited by viiia; 19th June 2007 at 03:24 AM. Reason: incorrectly wrote 'pirut' when I meant 'pup'
Reply With Quote
 

Tags
fix, odd, problem, repository, yum

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
yum run with error,Cannot retrieve repository metadata (repomd.xml) for repository xtcsin Using Fedora 1 9th May 2009 10:45 PM
Connot retrive repository metada(repomd.xml) for repository: Error hareeshkumaru Using Fedora 2 2nd April 2009 10:47 AM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Pleas tmick Using Fedora 3 24th August 2008 07:52 PM
Cannot retrieve repository metadata (repomd.xml) for repository: c5-media kpreston Using Fedora 13 23rd July 2008 08:11 PM


Current GMT-time: 03:52 (Thursday, 20-06-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