Jenkins 更新时候提示 Key 错误

错误日志为:

复制代码
1 package can be upgraded. Run 'apt list --upgradable' to see it.
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 7198F4B714ABFC68
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 7198F4B714ABFC68
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@ns524146:~# curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2026.key | sudo tee \

问题和解决

上面问题的原因是 Jenkins key 安装和更新的问题。

根据文章:Jenkins 2.543 and 2.541.1: New Linux Repository Signing Keys 中的内容。

需要运行下面命令:

Jenkins 更新时候提示 Key 错误

当运行完上面的命令后,再次更更新即可。

https://www.isharkfly.com/t/jenkins-key/18663

相关推荐
cany10007 分钟前
C++ - 智能指针
开发语言·c++
我要升天!21 分钟前
C语言连接 MySQL:libmysqlclient 获取方式详解
c语言·开发语言·数据库·mysql·adb
angushine30 分钟前
Python常用方法
开发语言·前端·python
潜创微科技36 分钟前
CH9245:双 Type‑C 转 PD 芯片方案,便携显示与拓展坞的理想选择
c语言·开发语言
A-Jie-Y1 小时前
JAVA23种设计模式
java·设计模式
【 】4231 小时前
pyhon相对导入
开发语言·python
小同志001 小时前
IoC 详解
java·开发语言
BENA ceic1 小时前
Java进阶-在Ubuntu上部署SpringBoot应用
java·spring boot·ubuntu
t***5441 小时前
如何在 Dev-C++ 中设置和使用 Clang 编译器
开发语言·c++