The public key for jenkins-2.249.1-1.1.noarch.rpm is not installed

less than 1 minute read

yum updateI was able to update jenkins.

Error statement


$ sudo yum update
・ ・ ・
・ ・ ・
Omission
・ ・ ・
・ ・ ・
Transaction summary
========================================================================================================================
Update 14 package

Total capacity: 115 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/jenkins/packages/jenkins-2.249.1-1.1.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY


jenkins-2.249.1-1.1.noarch.rpm public key is not installed

Solution

Do the following

$ sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
$ sudo yum update

Settled

reference

I’m getting error “Public key for jenkins-2.232-1.1.noarch.rpm is not installed” while installing AWS on Jenkins [closed]

If it helps someone