鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    换源失败

    已定时 已固定 已锁定 已移动 未解决
    综合问题
    ros1 一键安装 更换系统源
    7
    13
    667
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 2469427102
      是阿辞哦
      最后由 编辑

      建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [][0.28s] 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRel[|][0.37s] 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InR[-][0.45s] 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InR[-][0.50s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.55s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.60s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.70s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.80s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.90s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[-][2.37s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.37s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.40s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.50s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.60s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.70s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[/][2.91s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[][3.02s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.02s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.11s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.21s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.41s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.51s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.61s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.71s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.81s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][3.91s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][4.01s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[|][4.11s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Err[-][4.22s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [/][0.68s] ros-noetic-ros-base/now 1.5.0-1focal.20241118.195759 amd64 [已安装,[][0.68s] A metapackage which extends ros_core and includes other basic non-r[-][0.68s] CMD Result:success

      换源后更新失败,第四次开始切换源,尝试更换ROS源为http-ROS官方源!
      根据您的系统,为您推荐安装源为['http://packages.ros.org/ros/ubuntu/', '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]
      [][0.23s] 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRel[|][0.29s] 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InR[-][0.34s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.41s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.50s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[|][0.69s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.69s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.70s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][0.80s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[][0.99s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][0.99s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.00s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.10s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.20s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.30s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.40s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.50s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.60s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.70s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.80s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][1.90s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.00s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.20s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [/][0.75s] ros-noetic-ros-base/now 1.5.0-1focal.20241118.195759 amd64 [已安装,[][0.75s] A metapackage which extends ros_core and includes other basic non-r[-][0.75s] CMD Result:success

      Run CMD Task:[sudo apt update]
      [][0.28s] 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRel[|][0.34s] 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InR[-][0.40s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.46s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.50s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.60s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.70s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.80s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][0.90s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.00s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.10s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.20s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.30s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.40s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.50s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.60s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[/][1.70s] 命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRe[|][2.19s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.19s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.20s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][2.30s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[][2.49s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.49s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.50s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.60s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.70s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.80s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][2.90s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.00s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.10s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.21s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.31s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.41s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[|][3.51s] 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfo[-][3.62s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      四次换源后都失败了,请及时联系小鱼获取解决方案并处理!

      1 3 2 条回复 最后回复 回复 引用 0
      • 3
        3429494307
        最后由 编辑

        pub (4)rsa4096/f42ed6fbab17c654 2019-05-30T00:40:54Z

        uid 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]
        这个证书好像在今天早上6点过期了

        1 1 条回复 最后回复 回复 引用 0
        • 1
          1810586475 @246942710
          最后由 编辑

          我也是这样!!!!!

          1 条回复 最后回复 回复 引用 0
          • 1
            1810586475 @3429494307
            最后由 编辑

            @3429494307 那咋解决啊哥

            3 1 条回复 最后回复 回复 引用 0
            • 3
              3429494307 @1810586475
              最后由 编辑

              我也不知道,希望有大佬看到能解答吧,说起来ros1最后一个好像在今年5月最后一个版本(noetic)停止维护了

              S 1 条回复 最后回复 回复 引用 0
              • S
                SFLEteasb @3429494307
                最后由 编辑

                @3429494307 你们的是不是也无法运行
                sudo apt update哇

                3 1 条回复 最后回复 回复 引用 0
                • 3
                  3429494307 @SFLEteasb
                  最后由 编辑

                  @SFLEteasb 是的,出现如下报错
                  错误:6 http://packages.ros.org/ros/ubuntu focal InRelease
                  下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
                  获取:7 http://packages.ros.org/ros2/ubuntu focal InRelease [4,685 B]
                  错误:7 http://packages.ros.org/ros2/ubuntu focal InRelease
                  下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
                  正在读取软件包列表... 完成
                  W: GPG 错误:http://packages.ros.org/ros/ubuntu focal InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
                  E: 仓库 “http://packages.ros.org/ros/ubuntu focal InRelease” 没有数字签名。
                  N: 无法安全地用该源进行更新,所以默认禁用该源。
                  N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
                  W: GPG 错误:http://packages.ros.org/ros2/ubuntu focal InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
                  E: 仓库 “http://packages.ros.org/ros2/ubuntu focal InRelease” 没有数字签名。
                  N: 无法安全地用该源进行更新,所以默认禁用该源。
                  N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

                  S 1 条回复 最后回复 回复 引用 0
                  • S
                    SFLEteasb @3429494307
                    最后由 编辑

                    @3429494307 对的对的,一样的错误,这个是不是得等等国内的镜像站修复(?)

                    1 条回复 最后回复 回复 引用 0
                    • 2
                      2664578510
                      最后由 编辑

                      我也是这样,咋办啊

                      1 条回复 最后回复 回复 引用 0
                      • 3
                        3429494307
                        最后由 编辑

                        若密钥未更新且急需操作,可临时禁用签名验证:

                        sudo apt update --allow-insecure-repositories # 允许更新源
                        sudo apt install --allow-unauthenticated <包名> # 安装时忽略认证
                        问了deepseek,用了一下管用,可以试试

                        1 条回复 最后回复 回复 引用 1
                        • 3
                          360549788
                          最后由 编辑

                          或者手动更新密钥
                          sudo apt-key del F42ED6FBAB17C654
                          sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key | sudo tee /usr/share/keyrings/ros-archive-keyring.gpg > /dev/null
                          sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
                          sudo apt update

                          1 条回复 最后回复 回复 引用 0
                          • 3
                            3429494307 @246942710
                            最后由 编辑

                            @246942710 解决了,今天密钥更新了
                            pub (4)rsa4096/c1cf6e31e6bade8868b172b4f42ed6fbab17c654 2019-05-30T00:40:54Z

                            uid Open Robotics info@osrfoundation.org
                            sig cert f42ed6fbab17c654 2025-04-30T12:39:34Z 2030-06-01T12:39:34Z ____________________ [selfsig]
                            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]
                            用以下方式更新密钥
                            sudo apt-key del AB17C654 # 使用短ID(后8位)
                            sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654

                            小鱼小 1 条回复 最后回复 回复 引用 1
                            • 小鱼小
                              小鱼 技术大佬 @3429494307
                              最后由 编辑

                              @3429494307 已修复

                              新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

                              1 条回复 最后回复 回复 引用 1
                              • 第一个帖子
                                最后一个帖子
                              皖ICP备16016415号-7
                              Powered by NodeBB | 鱼香ROS