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

相关推荐
一方热衷.24 分钟前
YOLO26-Seg ONNXruntime C++/python推理
开发语言·c++·python
靓仔建2 小时前
Vue3导入组件出错does not provide an export named ‘user_setting‘ (at index.vue:180:10)
开发语言·前端·typescript
HalvmånEver2 小时前
7.高并发内存池大页内存申请释放以及使用定长内存池脱离new
java·spring boot·spring
凤山老林2 小时前
SpringBoot 使用 H2 文本数据库构建轻量级应用
java·数据库·spring boot·后端
赶路人儿3 小时前
UTC时间和时间戳介绍
java·开发语言
dreamread3 小时前
【SpringBoot整合系列】SpringBoot3.x整合Swagger
java·spring boot·后端
6+h3 小时前
【java】基本数据类型与包装类:拆箱装箱机制
java·开发语言·python
一直都在5723 小时前
Spring面经
java·后端·spring
xiaoye37083 小时前
如何在Spring中使用注解配置Bean的生命周期回调方法?
java·spring
闻哥4 小时前
深入Redis的RDB和AOF两种持久化方式以及AOF重写机制的分析
java·数据库·spring boot·redis·spring·缓存·面试