Converting RHEL To OEL YUM

Spread the love

# cd /etc/yum.repos.d
# wget
# yum repolist

Might give an error Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

To resolve this use the following command

# rpm –import

# rpm -q gpg-pubkey-ec551f03-4c2d256a

After the updates are complete system might start throwing a CERT Error

rhn-plugin: ERROR: can not find ULN CA file: /usr/share/rhn/RHNS-CA-CERT

To resolve this, follow the below,

# cd /usr/share/rhn

You will find the cert ULN-CA-CERT

# vi /etc/sysconfig/rhn/up2date


In this line change RHNS-CA-CERT to ULN-CA-CERT

Should look like


Now run
# yum info

Should work fine

Leave a Reply

Your email address will not be published. Required fields are marked *