Metadata file does not match checksum in Yum

When trying to install or update via Yum, you get an error like:
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 3.7 kB 00:00 [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from LowayResearch: [Errno 256] No more mirrors to try.

This might be caused by having corrupted metadata information, and it sometimes cannot be fixed even if you runyum clean all. If this is your case, try the following:
yum clean all
cd /var/cache/yum/LowayResearch/
wget --cache=off
wget --cache=off
wget --cache=off

And will then run the yum update queuemetrics command.

Permalink - Back to FAQs

QueueMetrics Training