LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-06-2006, 03:45 AM   #1
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Rep: Reputation: 15
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'...
 
Old 05-06-2006, 04:28 AM   #2
dark_prancer
Member
 
Registered: Feb 2005
Location: qld aus
Distribution: Fedora Core 4
Posts: 43

Original Poster
Rep: Reputation: 15
never mind. a friend just introduced me to the "yum clean all" command, which fixed the problem. thanks anyway.
 
Old 05-06-2006, 10:16 AM   #3
nabeelmoidu
Member
 
Registered: Jul 2005
Location: Bangalore
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
Lightbulb 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
 
Old 03-04-2009, 06:55 AM   #4
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 56

Rep: Reputation: 17
Thumbs up

Quote:
Originally Posted by nabeelmoidu View Post
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
 
Old 03-04-2009, 07:43 AM   #5
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Wow, they're still supporting FC4 repos?
 
Old 03-17-2011, 09:30 AM   #6
kitek
Member
 
Registered: Apr 2005
Posts: 252

Rep: Reputation: 15
Quote:
Originally Posted by nabeelmoidu View Post
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.
 
Old 03-17-2011, 06:38 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Update Error in FC4 egrim Fedora 2 04-22-2006 10:05 AM
LVM Error: incorrect metadata area header checksum neillans Linux - General 1 02-28-2006 02:06 PM
Reiser file system problem. No reiserfs metadata found nerrad Linux - Software 4 02-04-2006 10:46 AM
Error after upgrade from FC3 to FC4 with yum mwpeng Linux - Newbie 1 08-22-2005 06:38 PM
The Perfect yum.conf file for FC4 Rory in Toronto Fedora 5 06-25-2005 03:09 PM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration