Oracle Linux: How To Retain Current And Older Linux Packages While Doing Update With 'yum' Command

(Doc ID 2022235.1)

Last updated on JANUARY 10, 2018

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]
Information in this document applies to any platform.


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:



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