LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   repo_gpgcheck=1, causing any yum command over epel repo (https://www.linuxquestions.org/questions/centos-111/repo_gpgcheck%3D1-causing-any-yum-command-over-epel-repo-4175662388/)

krishnalinux 10-11-2019 10:49 AM

repo_gpgcheck=1, causing any yum command over epel repo
 
Hi Friends,
I am using CentOS 7.7 and my yum.conf by default set to repo_gpgcheck=1.
Once I enable/install Epel repo, it is throwing sequence of error like below,

http://reflector.westga.edu/repos/Fe...epomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
But removing repo_gpgcheck or setting it to '0', would work.
I read few forums that repo_gpgcheck is not supported on RHEL/CentOS but not clearly mention on version,

https://access.redhat.com/solutions/2850911

PLease advice if CentOS 7.7 is supported with repo_gpgcheck

Thanks

linom 10-11-2019 07:05 PM

In case of error when gpgcheck=1, you need to add the key to the GPG keyring like the below command

Quote:

rpm --import /path/to/YOUR-RPM-GPG-KEY


All times are GMT -5. The time now is 08:25 AM.