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

    换源更新失败

    已定时 已固定 已锁定 已移动
    一键安装
    一键安装 apt更新失败 后续程序可能会继续尝试 [\n
    2
    2
    562
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 11833285101
      西奥多
      最后由 编辑

      换源后更新失败,第三次开始切换源,尝试更换ROS2源为ROS2官方源!
      根据您的系统,为您推荐安装源为['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]
      [-]Result:success

      Run CMD Task:[sudo apt update]

      The following signatures couldn't be verified because the public key is not[|] The following signatures couldn't be verified because the public key is not[-]Result:code:100

      apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', '\n', "(appstreamcli:9296): GLib-CRITICAL **: 22:48:48.089: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed\n", '\n', "(appstreamcli:9296): GLib-CRITICAL **: 22:48:48.089: g_variant_new_variant: assertion 'value != NULL' failed\n", '\n', '(appstreamcli:9296): GLib-ERROR **: 22:48:48.089: g_variant_new_parsed: 11-13:invalid GVariant format string\n', 'Trace/breakpoint trap (core dumped)\n', "W: GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'http://packages.ros.org/ros/ubuntu bionic InRelease' is not signed.\n", "W: GPG error: http://packages.ros.org/ros2/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'http://packages.ros.org/ros2/ubuntu bionic InRelease' is not signed.\n", "E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'\n", 'E: Sub-process returned an error code\n']
      Run CMD Task:[sudo apt-cache search ros-base ]
      [-]Result:success e development metapackageKerberos

      换源后更新失败,第四次开始切换源,尝试使用https-ROS2官方源~!
      根据您的系统,为您推荐安装源为['https://packages.ros.org/ros/ubuntu/', 'https://packages.ros.org/ros2/ubuntu/']
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
      [-]Result:success

      Run CMD Task:[sudo apt update]
      [/] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in th[|] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in th[-]Result:code:100 0 443]

      检测到发生证书校验错误['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', '\n', "(appstreamcli:9595): GLib-CRITICAL **: 22:48:56.780: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed\n", '\n', "(appstreamcli:9595): GLib-CRITICAL **: 22:48:56.780: g_variant_new_variant: assertion 'value != NULL' failed\n", '\n', '(appstreamcli:9595): GLib-ERROR **: 22:48:56.780: g_variant_new_parsed: 11-13:invalid GVariant format string\n', 'Trace/breakpoint trap (core dumped)\n', "E: The repository 'https://packages.ros.org/ros/ubuntu bionic Release' does not have a Release file.\n", "E: The repository 'https://packages.ros.org/ros2/ubuntu bionic Release' does not have a Release file.\n", "E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'\n", 'E: Sub-process returned an error code\n'],自动取消https校验,如有需要请手动删除:rm /etc/apt/apt.conf.d/99verify-peer.conf
      Run CMD Task:[touch /etc/apt/apt.conf.d/99verify-peer.conf]
      [-]Result:success

      Run CMD Task:[echo "Acquire { https::Verify-Peer false }" > /etc/apt/apt.conf.d/99verify-peer.conf]
      [-]Result:success

      Run CMD Task:[sudo apt update]

      The following signatures couldn't be verified because the public key is not[|] The following signatures couldn't be verified because the public key is not[-]Result:code:100

      apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', '\n', "(appstreamcli:9999): GLib-CRITICAL **: 22:49:09.331: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed\n", '\n', "(appstreamcli:9999): GLib-CRITICAL **: 22:49:09.331: g_variant_new_variant: assertion 'value != NULL' failed\n", '\n', '(appstreamcli:9999): GLib-ERROR **: 22:49:09.331: g_variant_new_parsed: 11-13:invalid GVariant format string\n', 'Trace/breakpoint trap (core dumped)\n', "W: GPG error: https://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'https://packages.ros.org/ros/ubuntu bionic InRelease' is not signed.\n", "W: GPG error: https://packages.ros.org/ros2/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'https://packages.ros.org/ros2/ubuntu bionic InRelease' is not signed.\n", "E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'\n", 'E: Sub-process returned an error code\n']
      Run CMD Task:[sudo apt-cache search ros-base ]
      [-]Result:success e development metapackageKerberos

      Run CMD Task:[sudo apt update]

      The following signatures couldn't be verified because the public key is not[|] The following signatures couldn't be verified because the public key is not[-]Result:code:100

      apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', '\n', "(appstreamcli:10415): GLib-CRITICAL **: 22:49:17.813: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed\n", '\n', "(appstreamcli:10415): GLib-CRITICAL **: 22:49:17.813: g_variant_new_variant: assertion 'value != NULL' failed\n", '\n', '(appstreamcli:10415): GLib-ERROR **: 22:49:17.813: g_variant_new_parsed: 11-13:invalid GVariant format string\n', 'Trace/breakpoint trap (core dumped)\n', "W: GPG error: https://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'https://packages.ros.org/ros/ubuntu bionic InRelease' is not signed.\n", "W: GPG error: https://packages.ros.org/ros2/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654\n", "E: The repository 'https://packages.ros.org/ros2/ubuntu bionic InRelease' is not signed.\n", "E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'\n", 'E: Sub-process returned an error code\n']
      四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
      Run CMD Task:[sudo apt-cache search ros-base ]
      [-]Result:success e development metapackageKerberos

      Run CMD Task:[ls /opt/ros/False/setup.bash]
      [-]Result:code:2

      安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
      Run CMD Task:[ls /opt/ros/False/setup.bash]
      [-]Result:code:2

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

        @1183328510 在 换源更新失败 中说:

        NO_PUBKEY F42ED6FBAB17C654\

        注意这里

        @小鱼 在 一键安装遇到NO_PUBKEY错误该怎么办? 中说:

        答案就是手动的添加KEY
        比如说缺少DCC9EFBF77E11517,用下面的这句话
        sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517

        根据你的错误提示,可劲的添加吧

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

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