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

相关推荐
翊谦19 分钟前
Java Agent开发 Milvus 向量数据库安装
java·数据库·milvus
晓晓hh23 分钟前
JavaSE学习——迭代器
java·开发语言·学习
Laurence23 分钟前
C++ 引入第三方库(一):直接引入源文件
开发语言·c++·第三方库·添加·添加库·添加包·源文件
查古穆44 分钟前
栈-有效的括号
java·数据结构·算法
kyriewen111 小时前
你点的“刷新”是假刷新?前端路由的瞒天过海术
开发语言·前端·javascript·ecmascript·html5
Java面试题总结1 小时前
Spring - Bean 生命周期
java·spring·rpc
硅基诗人1 小时前
每日一道面试题 10:synchronized 与 ReentrantLock 的核心区别及生产环境如何选型?
java
014-code1 小时前
String.intern() 到底干了什么
java·开发语言·面试
421!1 小时前
GPIO工作原理以及核心
开发语言·单片机·嵌入式硬件·学习
摇滚侠2 小时前
JAVA 项目教程《苍穹外卖-12》,微信小程序项目,前后端分离,从开发到部署
java·开发语言·vue.js·node.js