Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2006-04-30, 05:14 PM CDT
hackerotaku Offline
Registered User
 
Join Date: Jun 2005
Posts: 35
Talking Yum - Metadata file does not match checksum

If you get the following error while running yum the fix is very simple

Error Message: Metadata file does not match checksum

Run Fix as user root:

yum clean all
yum update

Reply With Quote
  #2  
Old 2006-05-02, 02:35 AM CDT
beer_hunter Offline
Registered User
 
Join Date: Mar 2006
Location: Silesia, Poland, EU
Posts: 63
I've got this error from about 2 days, whe i tried to clean all , effect was the same:
Error Message: Metadata file does not match checksum

and this one is only with extras repository :S what to do?
Reply With Quote
  #3  
Old 2006-05-02, 06:57 AM CDT
hackerotaku Offline
Registered User
 
Join Date: Jun 2005
Posts: 35
beer_hunter,

Looks Like I left out a step
Try this, this worked on my end to resolve this problem

yum clean all
yum makecache
yum update
Reply With Quote
  #4  
Old 2006-05-03, 03:32 AM CDT
beer_hunter Offline
Registered User
 
Join Date: Mar 2006
Location: Silesia, Poland, EU
Posts: 63
I tried with makecache and i've got the same error
any ideas how to fix it in this situation? :S

Last edited by beer_hunter; 2006-05-03 at 03:37 AM CDT.
Reply With Quote
  #5  
Old 2006-05-03, 05:06 AM CDT
hackerotaku Offline
Registered User
 
Join Date: Jun 2005
Posts: 35
Cut and Past Error OutPut so I can see the exact errors you are getting
Reply With Quote
  #6  
Old 2006-05-03, 05:18 AM CDT
beer_hunter Offline
Registered User
 
Join Date: Mar 2006
Location: Silesia, Poland, EU
Posts: 63
Quote:
primary.xml.gz 100% |=========================| 249 kB 00:02
http://ftp.chg.ru/pub/Linux/fedora/l...rimary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
it's the same error for all mirrors
Reply With Quote
  #7  
Old 2006-05-03, 08:32 AM CDT
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,833
I don't exactly know how yum handles the mirrors. Maybe it cycles through them? Anyway, I get the same error (also
with extras), and I have seen it try a dozen mirrors (aproximately) before it finds one that it likes. It'll mess up once, then
the next time I try it, it's fine, then it messes up again. Must be some bad mirrors. Happens with updates sometimes too,
but not so often.

When I run yumex, it doesn't display the errors, but sometimes it takes forever to load so I'm sure it's the same problem.
Reply With Quote
  #8  
Old 2006-05-03, 09:01 AM CDT
beer_hunter Offline
Registered User
 
Join Date: Mar 2006
Location: Silesia, Poland, EU
Posts: 63
yeah, i was trying about ~50 times, and then worked o.O thanx for help
Reply With Quote
  #9  
Old 2006-05-03, 01:58 PM CDT
jbannon Offline
Registered User
 
Join Date: Dec 2005
Posts: 908
Here's what I find helps. If your running yumex set the mirror option to "best". this gives far fewer problems than leaving it as default or fastest. Takes a bit longer but is a lot more reliable.
__________________
Best regards,
Jim Bannon
(Registered Linux User #405603 )
Reply With Quote
  #10  
Old 2006-05-03, 02:05 PM CDT
sej7278 Offline
Registered User
 
Join Date: Sep 2004
Posts: 1,763
i think there's a serious problems syncing the extras mirrors, as freshrpms, dries, updates, core, monodevelop, dag, macromedia etc. all work fine.
Reply With Quote
  #11  
Old 2006-05-03, 02:35 PM CDT
Firewing1's Avatar
Firewing1 Online
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 18
Posts: 9,026
Quote:
Originally Posted by sej7278
i think there's a serious problems syncing the extras mirrors, as freshrpms, dries, updates, core, monodevelop, dag, macromedia etc. all work fine.
No, that's partially it but not the whole thing.
To reduce load, download.fedora.redhat.com (official host) contains the ~1kB checksum for the metadata. The metadata (usually ~1 - 2 MB) is downloaded off mirrors. After downloading metadata, Yum compares the two to make sure they're one and the same.
Now, think of this: download.fedora.redhat.com updates their metadata and checksums, so you're getting the new checksum. The mirror's cronjobs havn't gone yet, therefore no synching and the metadata isn't the newest, it doesn't match.

The solution is not to makecache; Although it may help it will take forever and still not 100% solve the problem. The main problem is not giving the mirrors enough synch time. Typically, cron runs every hour, and give it a bit of time to download the changes, so I'd say try running maybe 10 minutes after an hour and you'll have no problem (eg 3:10, 4:10, 5:10, etc...). If you get closer to :50 (3:50, :50, etc) you'll start seeing more syncing issues.

Again, this too isn't 100% perfect but more of a guideline. There's a lot of guesswork...

BTW - An easy way to bypass it is if you're not using that repo, disable it for the run with
Code:
yum --disablerepo=repoID [ install | update ] packagename
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #12  
Old 2006-05-06, 03:41 PM CDT
rshendershot Offline
Registered User
 
Join Date: Jun 2005
Posts: 17
FC5: check the plugin package

Quote:
Originally Posted by hackerotaku
beer_hunter,

Looks Like I left out a step
Try this, this worked on my end to resolve this problem

yum clean all
yum makecache
yum update

I was getting this a lot, making yum updates nearly unusable, until the last yum package update. If you're not using yum-2.6.1-0.fc5 then get that update. If you are and you're still getting the Metadata file does not match checksum erorr message, then check to see if you have yum-fastestmirror plugin installed. If you do, remove it.

This problem has completely gone away for me given these to "fixes"

HTH!
-rsh
Reply With Quote
  #13  
Old 2007-06-27, 08:16 AM CDT
mickza Offline
Registered User
 
Join Date: Apr 2007
Location: Port Elizabeth South Africa
Posts: 13
Dries repo problems

Quote:
Originally Posted by hackerotaku
beer_hunter,

Looks Like I left out a step
Try this, this worked on my end to resolve this problem

yum clean all
yum makecache
yum update
I have just experienced similar problems for several days -

Quote:
http://ftp.belnet.be/packages/dries....rimary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from dries: [Errno 256] No more mirrors to try.
In the end I had to change the standard dries baseurl from:

http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS/

to:

ftp://mirror.pacific.net.au/linux/freshrpms/dag/dries/fedora/linux/$releasever/$basearch/dries/RPMS/

and run the above before it came right.
(Im in South Africa and find the Australian sites better in general to the local ones hence my mirror choice).
__________________
Registered Linux User # 447027 here
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum; metadata file not match checksum rhka General Support 4 2006-12-28 03:21 AM CST
Yum: Metadata file does not match checksum Clodoaldo Pinto gmane.linux.redhat.fedora.general 2 2006-06-27 06:10 PM CDT
Metadata file does not match checksum bjorntj General Support 4 2006-05-24 01:42 AM CDT
Metadata file does not match checksum jerryw4386@netscape.net gmane.linux.redhat.fedora.general 1 2006-05-04 02:20 AM CDT
Metadata file does not match checksum jerryw4386@netscape.net gmane.linux.redhat.fedora.general 2 2006-05-03 11:30 PM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 09:26 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Multi-language forum supported by vBET Translator