How to Fix "Metadata File Does Not Match Checksum" Issue When Yum Installs or Updates Package

(Doc ID 1517453.1)

Last updated on JANUARY 30, 2018

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.9 with Unbreakable Enterprise Kernel [4.1.12] [Release OL5 to OL6U9]
Oracle VM - Version 3.2.1 to 3.3.5 [Release OVM32 to OVM33]
Linux x86-64
Linux x86

Symptoms

Scenario 1 :

The customer is unable to perform "yum install oracle-rdbms-server-11gR2-preinstall".

The yum tries to download the latest metadata ("http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz" ) and rejects it with the error message "[Errno -1] Metadata file does not match checksum". Upon this, yum tries the next mirror where it encounters the same error and goes to the next mirror and so on until it have tried all mirrors and ends with error "No more mirrors to try."

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms