Flipkart

Friday, December 30, 2016

Converting RHEL To OEL YUM


# cd /etc/yum.repos.d # wget  http://public-yum.oracle.com/public-yum-ol6.repo # 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 http://oss.oracle.com/ol6/RPM-GPG-KEY-oracle # 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 sslCACert=/usr/share/rhn/RHNS-CA-CERT In this line change RHNS-CA-CERT to ULN-CA-CERT Should look like sslCACert=/usr/share/rhn/ULN-CA-CERT Now run # yum info Should work fine

No comments:

Post a Comment