Page 1 of 1

Unable to enable verify EPEL repo

PostPosted: Mon Feb 23, 2015 10:50 am
by dani_kurian
Hi,

I cant able to install new packages from the epel repo. While using the command "yum install <package name>", its throwing errors like,
-------------------------------------------------------------------------
root@desktop11:/etc/yum.repos.d #yum repolist
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
-------------------------------------------------------------------------

Re: Unable to enable verify EPEL repo

PostPosted: Mon Feb 23, 2015 11:12 am
by rameez
Hi Dani,

First of all, you need to disable all repos, that's already been registered for the yum packages. Now you install below mentioned rpms to get access on epel repo.

## RHEL/CentOS 6 32-Bit ##
# wget http://download.fedoraproject.org/pub/e ... noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm

## RHEL/CentOS 6 64-Bit ##
# wget http://download.fedoraproject.org/pub/e ... noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm

Then run "yum clean" to clean the caches and reload all the repos.

Thank you :D