LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2009, 08:00 AM   #1
noamhr
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Error: Cannot open/read repomd.xml file for repository: updates


Hi,
When i tried to call yum install tftp-server I got this error:

# yum install tftp-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
http://download.fedora.redhat.com/pu...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Thu, 15 Oct 2009 10:51:31 GMT
Server: Apache
Content-Length: 254
Content-Type: text/html; charset=iso-8859-1

Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates

my yum.conf is:

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1

plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

I have configured fedora-core.repo
fedora-updates.repo & fedora-extras.repo to be:

[core]
name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

Still I can't use yum command (only yum --version = 3.0)

Please advice.

Best regards,
Noam
 
Old 10-15-2009, 08:28 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
What version of Fedora?
 
Old 11-20-2009, 03:43 PM   #3
theinvisibleguy3
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Hi, I too am having this problem, I'm using Fedora Core 6 and yum --version returns 3.0.1. Any suggestions are much appreciated, thank you.
 
  


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
Fedora 3: yum fails with message Cannot open/read repomd.xml file for repository AndrewShanks Linux - Newbie 1 07-02-2009 09:22 AM
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 03:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration