请问提示签名无效该怎么办呢
-
根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/'] 创建文件:/etc/apt/sources.list.d/ros-fish.list Run CMD Task:[sudo apt update] [\][0.37s] 获取:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InReleas[\][0.60s] 错误:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InReleas[|][0.63s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.63s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.70s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.80s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.91s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.01s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.11s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.21s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.31s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.41s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.51s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.61s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.71s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.81s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.91s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.05s] CMD Result:code:100 apt更新失败,后续程序可能会继续尝试...,[] Run CMD Task:[sudo apt search ros-base ] [-][0.76s] CMD Result:success 换源后更新失败,第二次开始切换源,尝试更换ROS2源为华为源! 根据您的系统,为您推荐安装源为['https://repo.huaweicloud.com/ros2/ubuntu/'] Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list] [-][0.00s] CMD Result:success 创建文件:/etc/apt/sources.list.d/ros-fish.list Run CMD Task:[sudo apt update] [-][0.34s] 获取:4 https://repo.huaweicloud.com/ros2/ubuntu jammy InRelease [4,68[|][0.74s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.74s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.80s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.90s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.00s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.10s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.21s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.31s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.41s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.51s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.61s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.71s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.81s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.96s] CMD Result:code:100 apt更新失败,后续程序可能会继续尝试...,[] Run CMD Task:[sudo apt search ros-base ] [-][0.74s] CMD Result:success 换源后更新失败,第三次开始切换源,尝试使用https-ROS官方源~! 根据您的系统,为您推荐安装源为['https://packages.ros.org/ros2/ubuntu/'] Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list] [-][0.00s] CMD Result:success 创建文件:/etc/apt/sources.list.d/ros-fish.list Run CMD Task:[sudo apt update] [/][10.30s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.30s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.37s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.47s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.57s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.67s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.77s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.87s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][10.97s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][11.07s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[\][11.17s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Er[-][11.58s] CMD Result:success Run CMD Task:[sudo apt search ros-base ] [-][0.74s] CMD Result:success 换源后更新失败,第四次开始切换源,尝试更换ROS源为http-ROS官方源! 根据您的系统,为您推荐安装源为['http://packages.ros.org/ros2/ubuntu/'] Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list] [-][0.00s] CMD Result:success 创建文件:/etc/apt/sources.list.d/ros-fish.list Run CMD Task:[sudo apt update] [|][1.58s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.58s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.61s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.71s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.81s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.91s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.01s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.12s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.22s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.32s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.42s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.52s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.62s] CMD Result:code:100 apt更新失败,后续程序可能会继续尝试...,[] Run CMD Task:[sudo apt search ros-base ] [-][0.76s] CMD Result:success Run CMD Task:[sudo apt update] [|][1.29s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.29s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.31s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.41s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.51s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.61s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.71s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.81s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][1.91s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.01s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.11s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.21s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.35s] CMD Result:code:100 apt更新失败,后续程序可能会继续尝试...,[] 四次换源后都失败了,请及时联系小鱼获取解决方案并处理! 欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装) 鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888 如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈 检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出
这是提示
-
@2252334401
若密钥未更新且急需操作,可临时禁用签名验证:sudo apt update --allow-insecure-repositories # 允许更新源
sudo apt install --allow-unauthenticated <包名> # 安装时忽略认证
问了deepseek,用了一下管用,可以试试,这个密钥在昨天早上六点过期了,现在我也没找到有新密钥发布,只能先这样用着等大佬解决了
密钥过期信息:
pub (4)rsa4096/c1cf6e31e6bade8868b172b4f42ed6fbab17c654 2019-05-30T00:40:54Zuid Open Robotics info@osrfoundation.org
sig cert f42ed6fbab17c654 2021-05-29T05:59:45Z 2025-06-01T05:59:45Z ____________________ [selfsig]
sig cert f42ed6fbab17c654 2019-05-30T00:40:54Z 2021-05-29T00:40:54Z ____________________ [selfsig] -
我也碰到了同样的问题,今天新装了台ubuntu20.0,一键安装ros全都提示签名无效,换了四个源然后失败,无法解决
-
我昨天也遇到了这样的问题,最近好像三个帖子都说明了这个问题,好像是镜像网站出了问题,如果解决了烦请通知我一下
-
@3429494307 大佬你好,我试了一下还是报错xx@xx-virtual-machine:~$ sudo apt update --allow-insecure-repositories
命中:1 http://mirrors.ustc.edu.cn/ubuntu focal InRelease
命中:2 http://mirrors.ustc.edu.cn/ubuntu focal-updates InRelease
命中:3 http://mirrors.ustc.edu.cn/ubuntu focal-backports InRelease
获取:4 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease [4,679 B]
命中:5 http://mirrors.ustc.edu.cn/ubuntu focal-security InRelease
获取:6 http://mirrors.ustc.edu.cn/ros/ubuntu focal InRelease [4,679 B]
命中:7 https://packages.microsoft.com/repos/code stable InRelease
忽略:4 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease
忽略:6 http://mirrors.ustc.edu.cn/ros/ubuntu focal InRelease
获取:8 http://mirrors.ustc.edu.cn/ros/ubuntu focal/main i386 Packages [62.7 kB]
获取:9 http://mirrors.ustc.edu.cn/ros/ubuntu focal/main amd64 Packages [842 kB]
已下载 909 kB,耗时 5秒 (188 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 565 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
W: GPG 错误:http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
W: 仓库 “http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal InRelease” 没有数字签名。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: GPG 错误:http://mirrors.ustc.edu.cn/ros/ubuntu focal InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
W: 仓库 “http://mirrors.ustc.edu.cn/ros/ubuntu focal InRelease” 没有数字签名。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 -
@2252334401 我也是这个问题,先是无电子签名,然后四次换源失败