Creating a local yum repository - GPG-Keys ?

Paul Howarth paul at
Tue Jul 19 17:30:31 UTC 2011

On Tue, 19 Jul 2011 16:21:25 +0000 (UTC)
Dan White <ygor at> wrote:

> I am trying to build a local yum repository for use on an isolated
> network segment.
> Using reposync to copy all the necessary RPM's to my local machine, I
> have to turn off the GPG key check or most of the RPM's will be
> deleted due to a check failure.  I have the key
> at /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL, but the key check fails.
> What did I miss, please ?    

You need to import that gpg key into the rpm database of the machine
running reposync:

# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL


More information about the epel-devel-list mailing list