4.2 Obtaining Errata and Updates from the Oracle Linux Yum Server

Oracle also provides all errata and updates for Oracle Linux via the Oracle Linux Yum Server, which includes updates to the base distribution, but does not include Oracle-specific software. You do not require an Oracle Linux support subscription to use this service. For more information on how to obtain updates from the Oracle Linux Yum Server, see http://yum.oracle.com.

By default, all new installations of Oracle Linux 6 are automatically configured to use the Oracle Linux Yum Server. If you subsequently register the system with ULN, any configuration to use the Oracle Linux Yum Server is automatically disabled.

The following entries in the /etc/yum.repos.d/public-yum-ol6.repo file enable you to download the latest available packages for Oracle Linux 6 and UEK R3:

[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

[ol6_UEKR3_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Ensure that enabled is set to 0 for ol6_UEK_latest.

For UEK R2, use the following entries:

[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

Ensure that enabled is set to 0 for ol6_UEKR3_latest.