My Oracle Support Banner

Oracle Linux: How To Retain Current And Older Linux Packages While Doing Update With 'yum' Command (Doc ID 2022235.1)

Last updated on APRIL 24, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.6 [Release OL5 to OL6U6]
Linux OS - Version Oracle Linux 5.5 with Unbreakable Enterprise Kernel [2.6.32] to Oracle Linux 6.6 with Unbreakable Enterprise Kernel [3.8.13] [Release OL5U5 to OL6U6]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Goal

In this document we shall discuss about how to retain current and older Linux packages while updating the Linux OS with the 'yum' command.

Note that /etc/yum.conf configuration file contains a [main] section. If required then we can add many additional options under the [main] section. Some of the key-value pairs in the [main] section affect how yum operates.

A sample /etc/yum.conf configuration file looks as below:

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.