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

相关推荐
rannn_1111 小时前
【苍穹外卖|Day10】Spring Task、订单状态定时处理、WebSocket、来单提醒、客户催单
java·后端·websocket·苍穹外卖
csbysj20201 小时前
XSLT `<template>` 标签详解
开发语言
2 小时前
2.20进制转化,表达式求值,删除字符
开发语言·c++·算法
cqbzcsq2 小时前
MC Forge 1.20.1 mod开发学习笔记(战利品、标签、配方)
java·笔记·学习·mod·mc
追随者永远是胜利者2 小时前
(LeetCode-Hot100)461. 汉明距离
java·算法·leetcode·职场和发展·go
郝学胜-神的一滴2 小时前
单例模式:从经典实现到Vibe Coding时代的思考
开发语言·c++·程序人生·单例模式·设计模式·多线程
人道领域2 小时前
SpringBoot多环境配置实战指南
java·开发语言·spring boot·github
tod1132 小时前
Redis:从消息中间件到分布式核心
服务器·开发语言·redis·分布式
捷利迅分享2 小时前
Android TV 4分屏独立播放电视应用完整开发方案
java