当我yum更新我的aws ec2时得到错误附加下载软件包:警告:/var/cache/yum/x86_64/2/jenkins/packages/jenkins-2.238-1.1.noarch.rpm:头V4 RSA/SHA 512签名,密钥ID 45 f2 c3 d5:NOKEY未安装jenkins-2.238-1.1.noarch.rpm的公钥
rhfm7lfc1#
您可以尝试手动安装其密钥:
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key
或
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
如Jenkins官方网站所示。
qvk1mo1f2#
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyBlog post
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
utugiqy63#
Jenkins现在正在进行密钥轮换。参考:https://get.jenkins.io/redhat/您现在需要的密钥:sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io-2023.key
3条答案
按热度按时间rhfm7lfc1#
您可以尝试手动安装其密钥:
或
如Jenkins官方网站所示。
qvk1mo1f2#
Debian/Ubuntu
wget -qO - https://pkg.jenkins.io/debian-stable/jenkins.io.key | apt-key add -
Red Hat/CentOS
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
Blog post
utugiqy63#
Jenkins现在正在进行密钥轮换。
参考:https://get.jenkins.io/redhat/
您现在需要的密钥:
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io-2023.key