Yum

Carlosinfl

Loves the juice
Joined
Sep 25, 2002
Messages
6,633
Why is YUM still down ... ? Am I the only one getting this error still? How can I resolve this or must I wait till the server is back up?

Is there a YUM mainsite?

Code:
[root@carlwill root]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Dag RPM Repository for Fedora Core
retrygrab() failed for:
  [url]http://apt.sw.be/fedora/2/en/i386/dag/gpgcheck=1/headers/header.info[/url]
  Executing failover method
failover: out of servers to try
Error getting file [url]http://apt.sw.be/fedora/2/en/i386/dag/gpgcheck=1/headers/header.info[/url]
[Errno 4] IOError: HTTP Error 404: Not Found
:mad:
 
Change what server yum is connecting to for updates. Looks like apt.sw.be is down for the moment.
 
I am not sure how I can change that?

Code:
gedit /ect/yum.conf

What server do I replace it with?
 
This is my /etc/yum.conf

I guess I need to modify the url on the last 2 entries?

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

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

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

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

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

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/gpgcheck=1
 
carloswill said:
This is my /etc/yum.conf

I guess I need to modify the url on the last 2 entries?

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

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

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

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

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

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/gpgcheck=1
You can comment out altogether the conflicting server (in this case the last one)
 
I have no changed the URL's on the last 2 and it seems to work now -

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

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

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

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch
 
Yes, though you may have wanted to keep the old baseurl line... to check when the server would come back on-line.
 
Why would I want to change it back if this one works? Is the other URL better or something?
 
I was just told to add those from the fedoraforum.org = maybe Ill ask them if this is cool to leave alone.
 
I usually only add sources that I trust to my yum.conf file, so that was no surprise to see in yours the ayo.freshrpms.net servers, but if you live in the US or in the American continent, searching content on european servers is not what you'd call efficient.
 
Back
Top