Unable to enable verify EPEL repo

Discuss Your Server Questions and Aswers

Unable to enable verify EPEL repo

Postby dani_kurian » Mon Feb 23, 2015 10:50 am

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
-------------------------------------------------------------------------
dani_kurian
 
Posts: 0
Joined: Mon Feb 23, 2015 10:02 am

Re: Unable to enable verify EPEL repo

Postby rameez » Mon Feb 23, 2015 11:12 am

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
rameez
 
Posts: 0
Joined: Tue Nov 25, 2014 5:17 pm


Return to Linux Server Configurations

Login  •  Register

cron