How to Re-Create the Yum Cache and/or Force a Fetch of the Package List of the Enabled Repositories (Doc ID 2110941.1)

Last updated on JULY 07, 2016

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Oracle VM - Version 3.0.1 and later
Linux x86-64

Goal

 This document briefly outlines how it possible to re-create the yum cache, or said in another way, force a fetch of the cache data from the enabled yum repositories.

 The enabled yum repositories are the ones in the following file /etc/yum.conf or in the following folder /etc/yum.repos.d that have their "enabled setting to "1", e.g. :

 

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