I used to be unable to use yum due to "connection timed out" errors, until today when I found out how to add the "timeout=" line in yum.conf.
Now, I don't get "timed out" errors, instead I get this:
Code:
yum check-update
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
http://ftp.ipv6.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/4/i386 /os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unr eachable')>
Trying other mirror.
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 133 kB 01:23
http://mirrors.csumb.edu/pub/fedora/updates/4/i386/repodata/primary.xml.gz: [Err no -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:32
http://zeniv.linux.org.uk/pub/distributions/fedora/linux/core/updates/4/i386/repodata /primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:33
http://ftp.riken.jp/Linux/fedora/core/updates/4/i386/repodata/primary.xml.gz: [Errno - ] Metadata file does not match checksum
Trying other mirror.
http://www.fedora.is/fedora/core/updates/4/i386/repodata/primary.xml.gz: [Errno 4] IOE ror: <urlopen error (110, 'Connection timed out')>
Trying other mirror.
http://ftp.chg.ru/pub/Linux/fedora/core/updates/4/i386/repodata/primary.xml.gz: [Errno 4] IOError: HTTP Error 404: Date: Sat, 06 May 2006 08:15:53 GMT
Server: Apache/1.3.33 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:50
http://limestone.uoregon.edu/ftp/fedora/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 02:02
http://ftp.uni-bayreuth.de/linux/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 431 kB 01:35
http://mirror.stanford.edu/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 449 kB 01:47
http://ftp1.skynet.cz/pub/linux/fedora/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:47
http://ftp.udl.es/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 431 kB 02:06
http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:39
http://ftp.heanet.ie/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
http://linux.admin.uillinois.edu/pub/linux/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno 4] IOError: HTTP Error 403: Date: Sat, 06 May 2006 08:27:26 GMT
Server: Apache/2.0.46 (Red Hat)
Content-Length: 362
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:54
http://www.muug.mb.ca/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 431 kB 01:40
http://srl.cs.jhu.edu/YUM/fedora-core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 346 kB 01:25
http://mirror.phy.olemiss.edu/mirror/fedora/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 453 kB 01:46
http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 2.7 kB 00:00
http://fedora.ngi.it/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 431 kB 01:38
http://fr2.rpmfind.net/linux/fedora/core/updates/4/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
It does this for a long while before finally saying "no more mirrors to try".
Could someone tell me what is wrong here? I'm completely lost.
While I'm posting, I have a second question; is it wise to add repo's to yum? Everyone seems to do it but I hear a lot of people complaining about 'conflicting packages'...