passenger
passenger copied to clipboard
Public Key Error when yum installing the EPEL repo
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
I am able to work around this issue by running:
rpm --import http://passenger.stealthymonkeys.com/RPM-GPG-KEY-stealthymonkeys.asc
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.