Monday, March 11, 2013

Yum not working in Oracle Linux

We have a new Oracle Linux 5.8 box. Yum is not working in that box.

[root@oraclelinux129 ~]# yum install compat-db
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
No package compat-db available.
Nothing to do

Fix :

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo
 
I need to edit the repo file to set enabled=1 for the correct 
channel [ol5_u7_base] and then I can install the oracle-validated RPM 
using yum
 
yum install oracle-validated -y
 
 

No comments:

Post a Comment