LinuxQuestions.org
Register a domain and help support LQ
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 07-02-2009, 09:09 AM   #1
AndrewShanks
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
Fedora 3: yum fails with message Cannot open/read repomd.xml file for repository


Hello all. I'm trying to install graphviz on a computer running Fedora 3 (Heidelberg). I downloaded the graphviz repo file from graphviz.org, and ran yum install graphviz*.

On my first attempt, I got the following messages:

Setting up Install Process
Setting up Repo: graphviz-stable
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
Cannot find a valid baseurl for repo: base

I then uncommented the baseurl lines from the files in yum.repos.d, and tried again getting the following messages:

Setting up Repo: graphviz-stable
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.

My file yum.repos.d/fedora.repo has the following contents:

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1

I've been able to use yum on another pc, running fedora 9, but copying over the yum configuration files didn't help. What else can I try?

Last edited by AndrewShanks; 07-02-2009 at 09:10 AM.
 
Old 07-02-2009, 09:22 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,327

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by AndrewShanks View Post
Hello all. I'm trying to install graphviz on a computer running Fedora 3 (Heidelberg). I downloaded the graphviz repo file from graphviz.org, and ran yum install graphviz*.

On my first attempt, I got the following messages:

Setting up Install Process
Setting up Repo: graphviz-stable
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
Cannot find a valid baseurl for repo: base

I then uncommented the baseurl lines from the files in yum.repos.d, and tried again getting the following messages:

Setting up Repo: graphviz-stable
repomd.xml 100% |=========================| 951 B 00:00
Setting up Repo: base
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.

My file yum.repos.d/fedora.repo has the following contents:

[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1

I've been able to use yum on another pc, running fedora 9, but copying over the yum configuration files didn't help. What else can I try?
You can either install from source, or upgrade. FC3 is ancient, and it's not surprising it wouldn't have suport for any sort of current software. The latest version is FC11.
 
  


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 11:55 PM
Cannot open/read repomd.xml file for repository - HELP petruha1983 Linux - Software 0 02-23-2009 10:23 AM
Yum error Cannot open/read repomd.xml??? F7 almost000 Linux - Newbie 41 09-22-2008 02:27 AM
yum + Cannot open/read repomd.xml file for repository: update aeby Red Hat 1 12-19-2007 10:14 AM
Cannot open/read repomd.xml file for repository: crash-hat e_annoos_h Linux - General 1 09-09-2007 02:23 AM


All times are GMT -5. The time now is 07:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration