0

epel rpm conflict error in centos

I tried to install epel package in my machine, but conflict error appears. " yum remove epel" also doesnt work. So i have downloaded the rpm of epel and tried, but the following error appears,

  #  rpm -i epel-release.rpm
warning: epel-release.rpm: Header V4 RSA/SHA1 Signature, key ID 62e74ca5: NOKEY
        file /etc/yum.repos.d/epel-testing.repo from install of epel-release-7-5.noarch conflicts with file from package epel-release-6-8.noarch
        file /etc/yum.repos.d/epel.repo from install of epel-release-7-5.noarch conflicts with file from package epel-release-6-8.noarch

Please help me out to continue with further step...

CentOS EPEL (Extra Packages for Enterprise Linux) Add a comment
benjamin
asked Apr 26 2017

Answer

0

Go to /etc/yum.repos.d/ location and remove all the epel repos and try yum repolist command. Now you can try yum remove epel* it will completely remove the packages.

After that install the rpm package of EPEL.

Add a comment
jagannatharumugam
asked Apr 26 2017
edited Oct 05 2018
Post your Answer