我如何解决错误 Public key for jenkins-2.238-1.1.noarch.rpm is not installed when I 运行 yum update for jenkins installation for the AWS EC2
How do I solve the error Public key for jenkins-2.238-1.1.noarch.rpm is not installed when I run yum update for jenkins installation for the AWS EC2
当我 yum 更新我的 aws ec2 时收到附加错误
正在下载软件包:
警告:/var/cache/yum/x86_64/2/jenkins/packages/jenkins-2.238-1.1.noarch.rpm: Header V4 RSA/SHA512 签名,密钥 ID 45f2c3d5: NOKEY
Public jenkins-2.238-1 的密钥。1.noarch.rpm 未安装
您可以尝试手动安装它的密钥:
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
或
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
如jenkins官方所示website.
Debian/Ubuntu
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
红色Hat/CentOS
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
博客posthttps://www.jenkins.io/blog/2020/07/27/repository-signing-keys-changing/
当我 yum 更新我的 aws ec2 时收到附加错误
正在下载软件包: 警告:/var/cache/yum/x86_64/2/jenkins/packages/jenkins-2.238-1.1.noarch.rpm: Header V4 RSA/SHA512 签名,密钥 ID 45f2c3d5: NOKEY
Public jenkins-2.238-1 的密钥。1.noarch.rpm 未安装
您可以尝试手动安装它的密钥:
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
或
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
如jenkins官方所示website.
Debian/Ubuntu
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
红色Hat/CentOS
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
博客posthttps://www.jenkins.io/blog/2020/07/27/repository-signing-keys-changing/