LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-11-2019, 10:49 AM   #1
krishnalinux
LQ Newbie
 
Registered: Oct 2019
Posts: 3

Rep: Reputation: Disabled
Smile 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
 
Old 10-11-2019, 07:05 PM   #2
linom
Member
 
Registered: May 2015
Location: India
Distribution: Debian, CentOS,Redhat, Fedora, Ubuntu
Posts: 91

Rep: Reputation: 13
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] yum check-update returns FEDORA-EPEL-2018 ee880c59b3 (from epel-centos7-x86_64) is broken, or a bad duplicate, skipping. hallomoto Linux - Newbie 4 02-20-2019 09:25 AM
[SOLVED] yum upgrade failed for package nss via EPEL repo - RHEL 2.6.32-504.el6.x86_64 okram_ Linux - Server 6 03-11-2015 08:23 PM
yum not working with epel repo fw12 Red Hat 2 02-14-2010 08:55 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration