Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run a yum update I get the following error

yum update
Gathering header information file(s) from server(s)
Server: Red Hat Enterprise 5Server - - dag
retrygrab() failed for:
  Executing failover method
failover: out of servers to try
Error getting file
[Errno 4] IOError: HTTP Error 404: Not Found

This is my /etc/yum.conf file:


name = Red Hat Enterprise $releasever - - dag
baseurl =$basearch/rpmforge
mirrorlist =
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Any ideas?

share|improve this question

Remove the [rpmforge] stanza from your config file and then enable it properly.

share|improve this answer

Change your baseurl to include /RPMS/.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.