November 18, 2012

yum doesn't find the package

I've been facing "no package available" error when I try installing packages through yum. Here is an example error message:
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled. 
Setting up Install Process
No package google-chrome-stable available.
Nothing to do
This message simply implies that your system is not registered with Red Hat. For details see this post. Solution is simple - just install the public repository manually:
$  cd /etc/yum.repos.d
$  wget http://public-yum.oracle.com/public-yum-ol6.repo