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

2006-04-30, 05:14 PM CDT
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 35

|
|
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
|

2006-05-02, 02:35 AM CDT
|
|
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?
|

2006-05-02, 06:57 AM CDT
|
|
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
|

2006-05-03, 03:32 AM CDT
|
|
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.
|

2006-05-03, 05:06 AM CDT
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 35

|
|
|
Cut and Past Error OutPut so I can see the exact errors you are getting
|

2006-05-03, 05:18 AM CDT
|
|
Registered User
|
|
Join Date: Mar 2006
Location: Silesia, Poland, EU
Posts: 63

|
|
it's the same error for all mirrors
|

2006-05-03, 08:32 AM CDT
|
 |
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.
|

2006-05-03, 09:01 AM CDT
|
|
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
|

2006-05-03, 01:58 PM CDT
|
|
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  )
|

2006-05-03, 02:05 PM CDT
|
|
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.
|

2006-05-03, 02:35 PM CDT
|
 |
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
|

2006-05-06, 03:41 PM CDT
|
|
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
|

2007-06-27, 08:16 AM CDT
|
|
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 -
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Automatic Translations (Powered by  ):
All times are GMT -7. The time now is 09:26 PM CST.
|
|
 |
 |
 |
 |
|
|