LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum in fc4 error - metadata file does not match (https://www.linuxquestions.org/questions/linux-newbie-8/yum-in-fc4-error-metadata-file-does-not-match-442136/)

dark_prancer 05-06-2006 03:45 AM

yum in fc4 error - metadata file does not match
 
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'...

dark_prancer 05-06-2006 04:28 AM

never mind. a friend just introduced me to the "yum clean all" command, which fixed the problem. thanks anyway.

nabeelmoidu 05-06-2006 10:16 AM

This should be enough
 
yum clean all
will work but it might clean up all the data about the available/downloaded packages
You can instead try
yum clean metadata
first and then if it doesn't solve the problem go for
yum clean all

amilauduwerella 03-04-2009 06:55 AM

Quote:

Originally Posted by nabeelmoidu (Post 2233609)
yum clean all
will work but it might clean up all the data about the available/downloaded packages
You can instead try
yum clean metadata
first and then if it doesn't solve the problem go for
yum clean all



Gr8

SlowCoder 03-04-2009 07:43 AM

Wow, they're still supporting FC4 repos?

kitek 03-17-2011 09:30 AM

Quote:

Originally Posted by nabeelmoidu (Post 2233609)
yum clean all
will work but it might clean up all the data about the available/downloaded packages
You can instead try
yum clean metadata
first and then if it doesn't solve the problem go for
yum clean all

I got into a hurry and used yum clean all before I saw the yum clean metadata but It did fix my problem. Everything else seems to be working well.

lazlow 03-17-2011 06:38 PM

Just keep in mind that there have been no new updates(of any kind) for FC4 in over 5 years. There are tons of known vunlerabilities in such systems.


All times are GMT -5. The time now is 05:31 AM.