passenger icon indicating copy to clipboard operation
passenger copied to clipboard

Public Key Error when yum installing the EPEL repo

Open linusthe3rd opened this issue 14 years ago • 2 comments

When I run the following command in RHEL 6:

yum install http://passenger.stealthymonkeys.com/rhel/6/passenger-release.noarch.rpm

The installation fails with the following error:

warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 6573ab09: NOKEY


Public key for passenger-release.noarch.rpm is not installed

linusthe3rd avatar Sep 08 '11 01:09 linusthe3rd

I am able to work around this issue by running:

rpm --import http://passenger.stealthymonkeys.com/RPM-GPG-KEY-stealthymonkeys.asc

linusthe3rd avatar Sep 08 '11 01:09 linusthe3rd

Hmm. Yes, it's a bit of a chicken & egg problem. The GPG key you need is in the passenger-release package, but by default Yum won't install a package signed with an unknown key (or an unsigned package, for that matter). Adding --nogpg overrides that, but I don't really want to suggest that in the official instructions.

On the other hand, it's important that the official instructions actually work. I don't know if giving people both options will confuse things and it should be only one, or if it can be explained adequately. I need to play with it.

erikogan avatar Sep 08 '11 05:09 erikogan