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

    第一步输入wget运行失败: failed: Temporary failure in name resolution. wget: unable to resolve host address ‘fishros.com’

    已定时 已固定 已锁定 已移动 已解决
    一键安装
    ros一键安装 ros2安装 orin
    3
    5
    1.4k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 11304580201
      ζMIkasa
      最后由 编辑

      nvidia@tegra-ubuntu:~$ wget http://fishros.com/install -O fishros && . fishros
      --2022-04-21 13:18:09-- http://fishros.com/install
      Resolving fishros.com (fishros.com)... failed: Temporary failure in name resolution.
      wget: unable to resolve host address ‘fishros.com’

      尝试修改 /etc/resolv.conf 中dns为:
      nameserver 114.114.114.114
      nameserver 1.2.4.8 仍然失败

      环境:linux远程ssh nvidia orin域控
      主机环境:ubuntu20.04
      宿主机orin环境:Linux tegra-ubuntu 5.10.104-tegra #32 SMP PREEMPT Wed Dec 7 12:05:38 CST 2022 aarch64 aarch64 aarch64 GNU/Linux

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

        @1130458020 电脑可以正常联网吗?ping baidu.com 试试

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

        11304580201 1 条回复 最后回复 回复 引用 0
        • 11304580201
          ζMIkasa @小鱼
          最后由 编辑

          @小鱼 目前出现了四次换源失败,参考以前帖子,我的报错并没有出现类似NO_PUBKEY F42ED6FBAB17C654\ 所以无法通过sudo apt-key 这个指令添加,我该如何去做呢?当前系统架构为[arm64:focal] ubuntu20.04

          整体报错代码如下:
          [1]:仅更换系统源
          [2]:更换系统源并清理第三方源
          [0]:quit
          请输入[]内的数字以选择:2
          Run CMD Task:[sudo rm -rf /etc/apt/sources.list]
          [-]Result:success
          删除一个资源文件
          Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d]
          [-]Result:success
          Run CMD Task:[sudo mkdir -p /etc/apt/sources.list.d]
          [-]Result:success

          Run CMD Task:[dpkg --print-architecture]
          [-]Result:success
          检测到当前系统架构为[arm64:focal],正在为你更换对应源..
          替换完成,尝试第一次更新....
          Run CMD Task:[sudo apt update]
          [|] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [/] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [|] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [/] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [-]Result:code:100

          更新失败,开始更换导入方式并三次尝试...
          Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9]
          []Executing: /tmp/apt-key-gpghome.GiSvGiPAPJ/gpg.1.sh --keyserver keyserver.ubuntu.com [-]Result:code:2

          Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517]
          []Executing: /tmp/apt-key-gpghome.JDBjkz4EkV/gpg.1.sh --keyserver keyserver.ubuntu.com [-]Result:code:2

          Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 54404762BBB6E853]
          []Executing: /tmp/apt-key-gpghome.vgxPT0WZJM/gpg.1.sh --keyserver keyserver.ubuntu.com [-]Result:code:2

          Run CMD Task:[apt-get install debian-keyring debian-archive-keyring]
          [-]Result:success e and 0 not upgraded.to-xinerama-deve:

          Run CMD Task:[apt-key update]
          [|]gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ub[/]gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubu[|]gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ub[-]Result:success

          Run CMD Task:[sudo apt update]
          [|] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [/] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [|] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [/] Cannot initiate the connection to mirrors.ustc.edu.cn:443 (2001:da8:d800:95::110). [-]Result:code:100

          如果出现问题NO_PUBKEY XXXXXXXX,请手动运行添加指令:apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXXXX
          如:error: NO_PUBKEY 0E98404D386FA1D9
          运行指令:sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9

          镜像修复完成.....
          Run CMD Task:[sudo apt update]
          [-]Result:code:100 orts focal-security InRelease [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 52min 33s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 54min 2s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 51min 19s). Updates for this repository will not be applied.\n']
          Run CMD Task:[dpkg --print-architecture]
          [-]Result:success

          根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
          Run CMD Task:[sudo apt update]
          [/] Cannot initiate the connection to mirrors.tuna.tsinghua.edu.cn:80 (2402:f000:1:400:[|] Cannot initiate the connection to mirrors.tuna.tsinghua.edu.cn:80 (2402:f000:1:400:[-]Result:code:100 orts focal-security InRelease [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', "E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu focal Release' does not have a Release file.\n", "E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu focal Release' does not have a Release file.\n", 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 52min 19s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 53min 48s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 51min 5s). Updates for this repository will not be applied.\n']
          Run CMD Task:[sudo apt-cache search ros-base ]
          [/]ros-noetic-ros-base - A metapackage which extends ros_core and includes other basic n[-]Result:success figure, nodelets, and pluginlib.

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

          Run CMD Task:[sudo apt update]
          [-]Result:code:100 orts focal-security InRelease [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 52min 5s). Updates for this repository will not be applied.\n', 'E: Release file for https://repo.huaweicloud.com/ros2/ubuntu/dists/focal/InRelease is not valid yet (invalid for another 286d 11h 5min 57s). Updates for this repository will not be applied.\n', 'E: Release file for https://repo.huaweicloud.com/ros/ubuntu/dists/focal/Release is not valid yet (invalid for another 286d 11h 6min 10s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 53min 33s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 50min 51s). Updates for this repository will not be applied.\n']
          Run CMD Task:[sudo apt-cache search ros-base ]
          [/]ros-noetic-ros-base - A metapackage which extends ros_core and includes other basic n[-]Result:success figure, nodelets, and pluginlib.

          换源后更新失败,第三次开始切换源,尝试更换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]
          [/] Cannot initiate the connection to packages.ros.org:80 (2605:bc80:3010::134). - connect (101: Network is unreachable) Cannot initiate the connection to packages.ros.org:80 [|] Cannot initiate the connection to packages.ros.org:80 (2605:bc80:3010::134). - connect (101: Network is unreachable) Cannot initiate the connection to packages.ros.org:80 [-]Result:code:100 orts focal-security InRelease [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', "E: The repository 'http://packages.ros.org/ros/ubuntu focal Release' no longer has a Release file.\n", "E: The repository 'http://packages.ros.org/ros2/ubuntu focal Release' does not have a Release file.\n", 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 51min 50s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 53min 19s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 50min 36s). Updates for this repository will not be applied.\n']
          Run CMD Task:[sudo apt-cache search ros-base ]
          [/]ros-noetic-end-effector - End-Effector package: provides a ROS-based set of standard []ros-noetic-mqtt-client - Provides a nodelet that enables connected ROS-based devices [|]ros-noetic-ros-base - A metapackage which extends ros_core and includes other basic n[-]Result:success figure, nodelets, and pluginlib.

          换源后更新失败,第四次开始切换源,尝试使用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]
          [/] Cannot initiate the connection to packages.ros.org:443 (2605:bc80:3010::134). - connect (101: Network is unreachable) Cannot initiate the connection to packages.ros.org:44[|] Cannot initiate the connection to packages.ros.org:443 (2605:bc80:3010::134). - connect (101: Network is unreachable) Cannot initiate the connection to packages.ros.org:44[-]Result:code:100 orts focal-security InRelease [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', "E: The repository 'https://packages.ros.org/ros/ubuntu focal Release' no longer has a Release file.\n", "E: The repository 'https://packages.ros.org/ros2/ubuntu focal Release' does not have a Release file.\n", 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 51min 35s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 53min 4s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 50min 21s). Updates for this repository will not be applied.\n']
          Run CMD Task:[sudo apt-cache search ros-base ]
          [/]ros-noetic-end-effector - End-Effector package: provides a ROS-based set of standard []ros-noetic-mqtt-client - Provides a nodelet that enables connected ROS-based devices [|]ros-noetic-ros-base - A metapackage which extends ros_core and includes other basic n[-]Result:success figure, nodelets, and pluginlib.

          Run CMD Task:[sudo apt update]
          [-]Result:code:100 focal InRelease [4,685 B]ase [114 kB]]

          apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 51min 30s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 290d 0h 52min 59s). Updates for this repository will not be applied.\n', 'E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 290d 0h 50min 16s). Updates for this repository will not be applied.\n', 'E: Release file for https://packages.ros.org/ros/ubuntu/dists/focal/InRelease is not valid yet (invalid for another 286d 11h 5min 34s). Updates for this repository will not be applied.\n', 'E: Release file for https://packages.ros.org/ros2/ubuntu/dists/focal/InRelease is not valid yet (invalid for another 286d 11h 5min 21s). Updates for this repository will not be applied.\n']
          四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
          Run CMD Task:[sudo apt-cache search ros-base ]
          [/]ros-noetic-end-effector - End-Effector package: provides a ROS-based set of standard []ros-noetic-mqtt-client - Provides a nodelet that enables connected ROS-based devices [|]ros-noetic-ros-base - A metapackage which extends ros_core and includes other basic n[-]Result:success figure, nodelets, and pluginlib.

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

            @1130458020 这样尝试

            1.手动更换系统源-换成清华源试试
            2.使用一键安装,选择不清理系统源,仅更换帝三王源

            主要错误可能是中科大的ubuntu-ports源问题

            @1130458020 在 第一步输入wget运行失败: failed: Temporary failure in name resolution. wget: unable to resolve host address ‘fishros.com’ 中说:

            E: Release file for https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 290d 0h 52min 19s)

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

            4108730634 1 条回复 最后回复 回复 引用 0
            • 11304580201 1130458020 将这个主题标记为已解决,在
            • 4108730634
              . @小鱼
              最后由 编辑

              @小鱼 qing hua yuan :

              默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

              deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main restricted universe multiverse

              deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main restricted universe multiverse

              deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse

              deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse

              deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse

              deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse

              deb http://ports.ubuntu.com/ubuntu-ports/ focal-security main restricted universe multiverse

              deb-src http://ports.ubuntu.com/ubuntu-ports/ focal-security main restricted universe multiverse

              预发布软件源,不建议启用

              deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-proposed main restricted universe multiverse

              # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-proposed main restricted universe multiverse

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