You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSMS:Patching Failed With Error “Error: There are no enabled repositories in "/etc/yum.repos.d"

edited Oct 3, 2023 3:24PM in Linux

Applies To:

Oracle Cloud Infrastructure 

Linux x86-64


SYMPTOMS: 

OSMS Patching failed with error :

$ yum update --security
This system is receiving updates from OSMS server.
Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", 
"/etc/distro.repos.d".


Cause

No OSMS Software sources added to the instance


Solution

Add required OSMS Software Sources as detailed in document: 

https://docs.oracle.com/en-us/iaas/os-management/osms/osms-software-sources.htm#osms-console-add-software-sources

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!