Update: public-yum is working today and manual checksum is matching as well.
---
I am trying to apply the latest Oracle Linux 6 patches to a fresh 6.4 install from the public-yum. I am able to successfully apply the latest Oracle Linux 6 UEK from the ol6_UEK_latest repository on public-yum. I am unable to access the ol6_latest repository on public-yum because I receive a "Metadata file does not match checksum" error. I have attempted to manually verify the checksum and receive a mismatch as well. See below for more details.
Thanks,
Erick
$ ### clean up yum cache directory
$ yum clean all
Loaded plugins: refresh-packagekit, security
Cleaning repos: ol6_UEK_latest ol6_latest
Cleaning up Everything
$ ### attempt to check for updates
$ yum check-update
Loaded plugins: refresh-packagekit, security
ol6_UEK_latest | 1.2 kB 00:00
ol6_UEK_latest/primary | 8.0 MB 00:00
ol6_UEK_latest 183/183
ol6_latest | 1.4 kB 00:00
ol6_latest/primary | 29 MB 00:02
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
ol6_latest/primary | 29 MB 00:02
http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from ol6_latest: [Errno 256] No more mirrors to try.
$ ### manually verify checksum by downloading gz for UEK repository
$ wget http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/primary.xml.gz
--2013-06-13 09:49:17-- http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/primary.xml.gz
Connecting to 10.87.79.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 8409269 (8.0M) [application/x-gzip]
Saving to: “primary.xml.gz”
100%[======================================================================>] 8,409,269 11.1M/s in 0.7s
2013-06-13 09:49:18 (11.1 MB/s) - “primary.xml.gz” saved [8409269/8409269]
$ ### now download xml for UEK repository
$ wget http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml
--2013-06-13 09:52:14-- http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml
Connecting to 10.87.79.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1240 (1.2K) [text/xml]
Saving to: “repomd.xml”
100%[======================================================================>] 1,240 --.-K/s in 0s
2013-06-13 09:52:14 (106 MB/s) - “repomd.xml” saved [1240/1240]
$ ### get published checksum from xml
$ grep -nA1 primary.xml repomd.xml
16: <location href="repodata/primary.xml.gz"/>
17- <checksum type="sha">c8fc85aa170c9da4a04e8a58ab594f67c319e874</checksum>
$ ### generate checksum for gz
$ sha1sum primary.xml.gz
c8fc85aa170c9da4a04e8a58ab594f67c319e874 primary.xml.gz
$ ### UEK checksums match, clean up UEK files from directory
$ rm primary.xml.gz repomd.xml
$ ### manually verify checksum by downloading gz for ol6 repository
$ wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz
--2013-06-13 10:04:59-- http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/primary.xml.gz
Connecting to 10.87.79.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 30474994 (29M) [application/x-gzip]
Saving to: “primary.xml.gz”
100%[======================================================================>] 30,474,994 6.64M/s in 4.5s
2013-06-13 10:05:04 (6.40 MB/s) - “primary.xml.gz” saved [30474994/30474994]
$ ### now download xml for ol6 repository
$ wget http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/repomd.xml
--2013-06-13 10:05:10-- http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/repodata/repomd.xml
Connecting to 10.87.79.250:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1429 (1.4K) [text/xml]
Saving to: “repomd.xml”
100%[======================================================================>] 1,429 --.-K/s in 0s
2013-06-13 10:05:10 (55.7 MB/s) - “repomd.xml” saved [1429/1429]
$ ### get published checksum from xml
$ grep -nA1 primary.xml repomd.xml
16: <location href="repodata/primary.xml.gz"/>
17- <checksum type="sha">c8b3d8c353045b6e96f1eb6ed519c5d6e75faad3</checksum>
$ ### generate checksum for gz
$ sha1sum primary.xml.gz
47c33491455170c1460646ab3652e40087a4aa19 primary.xml.gz
$ ### ol6 checksums do not match, clean up ol6 files from directory
$ rm primary.xml.gz repomd.xml
$
Message was edited by: esigfrid