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 04-28-2005, 11:52 AM   #1
ShaChris23
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
can't use yum to update


I can't use yum to update my FC3.

here's my yum.conf

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

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
==========================================

here's what i get when i run yum update & yum list. I also have tried 5 different mirrors, but it's always the same error. I run as root.

[root@localhost yum]# yum update
Setting up Update Process
Setting up Repo: core
http://ayo.freshrpms.net/fedora/linu...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
[root@localhost yum]# yum list
Setting up Repo: core
http://ayo.freshrpms.net/fedora/linu...ta/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.

Anyone has any ideas?
 
Old 04-28-2005, 11:29 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
The baseurls for [core] (http://ayo.freshrpms.net/fedora/linux/3/i386/core) and [updates] (http://ayo.freshrpms.net/fedora/linux/3/i386/update) are not valid yum sources. Actually, they aren’t anything.

1) All you need to do is to look down the fedora mirrors list (http://fedora.redhat.com/download/mirrors.html), pick out a mirror you like and use the appropriate urls in yum.conf. For example, if you were to pick the first mirror in France:

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/updates//$releasever/$basearch/


2) Or you could use the standard fedora setup which selects a mirror for you:

[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

[updates-released]
name=Fedora Core $releasever - $basearch - Released 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


3) Or you could just try deleting everything in yum.conf below “obsoletes=1". You should already have properly configured repos files in /etc/yum.repos.d/ to support normal updates. All the extra freshrpms stuff in yum.conf is basically garbage that is messing up the works.
 
Old 04-28-2005, 11:31 PM   #3
raghavendra
LQ Newbie
 
Registered: Feb 2005
Location: Bangalore
Distribution: Fedora Core 3
Posts: 8

Rep: Reputation: 0
Hi
You can try this
http://fedoranews.org/tchung/yum-mirrorlist/
Hope that helps
 
  


Reply



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 question: How to update from backed up yum cache? Arodef Linux - Software 2 02-02-2010 11:42 PM
yum update yum? TranceDude Linux - Software 3 08-23-2005 09:56 AM
Yum Update Tinochelli Linux - Newbie 1 01-26-2005 04:47 PM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:23 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
Open Source Consulting | Domain Registration