Yum GPG Error 'Repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found' on Oracle Linux.

(Doc ID 2397264.1)

Last updated on MAY 16, 2018

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64

Goal

A Oracle Linux server installed with the NIST Security Profile is unable to connect to either Oracle's ULN or Oracle's Public-Yum repositories as below error is received when using Yum.

[root@hostname ~]# yum repolist
Loaded plugins: ulninfo
http://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
                                                                                                      ol7_UEKR4 | 1.2 kB 00:00
http://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
                                                                                                     ol7_UEKR4/x86_64 | 1.2 kB 00:00
http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
                                                                                                     ol7_latest/x86_64 | 1.4 kB 00:00

repo id                                                  repo name                                                 status
ol7_UEKR4/x86_64  Latest Unbreakable Enterprise Kernel Release 4 for Orac        0
ol7_latest/x86_64   Oracle Linux 7Server Latest (x86_64)                                     0
repolist: 0

Solution

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