Mév*_*pek 3 debian apt gpg jenkins apt-key
我尝试升级詹金斯。
我使用新的方式来使用 gpg 密钥:
wget https://pkg.jenkins.io/debian-stable/jenkins.io.key
gpg --dearmor jenkins.io.key
mv jenkins.io.key.gpg /usr/share/keyrings/jenkins-keyring.asc
Run Code Online (Sandbox Code Playgroud)
cat /etc/apt/sources.list.d/jenkins.list
deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian-stable binary/
Run Code Online (Sandbox Code Playgroud)
apt-key:
apt-key list | grep -i jenkins # nothing
Run Code Online (Sandbox Code Playgroud)
# file /usr/share/keyrings/jenkins-keyring.asc
/usr/share/keyrings/jenkins-keyring.asc: PGP/GPG key public ring (v4) created Mon Mar 30 15:10:17 2020 RSA (Encrypt or Sign) 4096 bits MPI=0x99a14538d6e6150d...
Run Code Online (Sandbox Code Playgroud)
但是当我跑步时apt update
:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://pkg.jenkins.io/debian-stable binary/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCEF32E745F2C3D5
W: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FCEF32E745F2C3D5
W: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
怎么了?
小智 5
存储库签名密钥已更改。
从 2023 年 3 月 28 日开始,Jenkins 每周版本将为 Linux 安装包使用新的存储库签名密钥。从 2023 年 4 月 5 日开始,Jenkins LTS 版本也将进行相同的更改。Linux 系统管理员必须在其 Linux 服务器上安装新的签名密钥,然后再安装 Jenkins Jenkins Weekly 2.397 或 Jenkins LTS 2.387.2。
https://www.jenkins.io/blog/2023/03/27/repository-signing-keys-changing/
安装新的签名密钥,并等待更新由新密钥签名的存储库,直到 4 月 5 日。
归档时间: |
|
查看次数: |
5214 次 |
最近记录: |