×

注意!页面内容来自https://fishros.org.cn/forum/topic/22/一键安装使用指南及常见问题解决方案,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

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

一键安装使用指南及常见问题解决方案

已定时 已固定 已锁定 已移动
一键安装
32
62
59.5k
正在加载更多帖子
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 小鱼小
    小鱼 技术大佬
    最后由 小鱼 编辑

    一键安装使用指南及常见问题解决方案

    1.使用指南

    见文档:

    • 小鱼的一键安装系列-帮你解决人生烦恼

    2.常见问题

    • 一键安装一直提示Finish! Please Try Again!怎么办?

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

    26368146052 1 条回复 最后回复 回复 引用 0
    • 小鱼小 小鱼 在 中固定了该主题
    • 小鱼小 小鱼 取消固定该主题于
    • 小鱼小 小鱼 取消固定该主题于
    • 小鱼小 小鱼 在 中固定了该主题
    • FatalF
      Fatal
      最后由 编辑

      请问在rosdepc update这一步显示
      ERROR: Rosdep experienced an error: Expected file type is 'distribution'
      Please go to the rosdepc page [1] and file a bug report with the stack trace below.
      [1] : http://www.ros.org/wiki/rosdepc

      发生错误了,请关注微信公众号:鱼香ROS,找小鱼反馈哦

      rosdepc version: 0.21.0

      Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py"line 146in rosdep_main
      exit_code = _rosdep_main(args)
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py"line 446in _rosdep_main
      return _no_args_handler(commandparseroptionsargs)
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py"line 455in _no_args_handler
      return command_handlerscommand
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py"line 677in command_update
      ros_distro=options.ros_distro)
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/sources_list.py"line 516in update_sources_list
      rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/gbpdistro_support.py"line 149in get_gbprepo_as_rosdep_data
      distro_file = get_release_file(gbpdistro)
      File "/usr/local/lib/python2.7/dist-packages/roscdep2/rosdistrohelper.py"line 77in get_release_file
      dist_file = rosdistro.get_distribution_file(get_index()distro)
      File "/usr/local/lib/python2.7/dist-packages/rosdistro/init.py"line 120in get_distribution_file
      return create_distribution_file(dist_namedata)
      File "/usr/local/lib/python2.7/dist-packages/rosdistro/distribution_file.py"line 134in create_distribution_file
      dist_file = DistributionFile(dist_named)
      File "/usr/local/lib/python2.7/dist-packages/rosdistro/distribution_file.py"line 45in init
      assert 'type' in data"Expected file type is '%s'" % DistributionFile._type
      AssertionError: Expected file type is 'distribution'

      这个怎么搞呢,谢谢

      1 条回复 最后回复 回复 引用 0
      • 16043339391
        莫上
        最后由 编辑

        File "/tmp/fishinstall/tools/base.py"line 644in detect_os
        raise OsNotDetected("Could not detect OStried %s" % attempted)
        tools.base.OsNotDetected: Could not detect OStried ['zorin''windows''nixos''clearlinux''ubuntu''slackware''rocky''rhel''qnx''pop''osx''sailfishos''tizen''oracle''opensuse''opensuse''opensuse''opensuse''opensuse''openembedded''neon''mx''mint''linaro''gentoo''funtoo''freebsd''fedora''elementary''elementary''debian''cygwin''euleros''centos''manjaro''buildroot''arch''amazon''alpine''almalinux']

        这是我一键安装时报错,我是在树莓派的raspbian bullseye上安装,这个有办法解决吗

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

          @1604333939 在 一键安装使用指南及常见问题解决方案 中说:

          raspbian bullseye

          该系统不支持哈

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

          16043339391 2 条回复 最后回复 回复 引用 0
          • 16043339391
            莫上 @小鱼
            最后由 编辑

            此回复已被删除!
            1 条回复 最后回复 回复 引用 0
            • 16043339391
              莫上 @小鱼
              最后由 编辑

              @小鱼 大佬,那有没有什么办法可以让我的这个版本的系统装上ros吗,18.04的

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

                @1604333939 docker

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

                16043339391 3 条回复 最后回复 回复 引用 0
                • 16043339391
                  莫上 @小鱼
                  最后由 编辑

                  @小鱼 那我该怎么做呢,麻烦说得详细一些。

                  1 条回复 最后回复 回复 引用 0
                  • 16043339391
                    莫上 @小鱼
                    最后由 编辑

                    @小鱼 apt更新失败,后续程序可能会继续尝试...,['\n''WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n''\n'"E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bullseye Release' does not have a Release file.\n""E: The repository 'http://packages.ros.org/ros1/ubuntu bullseye Release' does not have a Release file.\n"]
                    =================3.下载镜像(该步骤因网络原因会慢一些,若失败请重试)==================
                    Run CMD Task:[sudo docker pull ros:melodic ]
                    sudo: docker: command not found
                    Run CMD Task:[sudo docker pull ros:melodic ]
                    sudo: docker: command not found
                    Run CMD Task:[sudo docker pull ros:melodic ]
                    sudo: docker: command not found

                    用一键安装 安装docker和ros melodic时出现以下问题,然后操作完之后什么都没有,这个问题要如何解决呢

                    1 条回复 最后回复 回复 引用 0
                    • 16043339391
                      莫上 @小鱼
                      最后由 编辑

                      @小鱼 --2023-05-17 22:50:07-- http://fishros.com/install
                      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
                      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
                      已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
                      位置:http://fishros.com/install/ [跟随至新的 URL]
                      --2023-05-17 22:50:07-- http://fishros.com/install/
                      再次使用存在的到 fishros.com:80 的连接。
                      已发出 HTTP 请求,正在等待回应... 200 OK
                      长度:582 [application/octet-stream]
                      正在保存至: “fishros”

                      fishros 100%[===================>] 582 --.-KB/s 用时 0s

                      2023-05-17 22:50:08 (22.2 MB/s) - 已保存 “fishros” [582/582])

                      SSH is enabled and the default password for the 'pi' user has not been changed.
                      This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.

                      正在读取软件包列表... 完成
                      正在分析软件包的依赖关系树
                      正在读取状态信息... 完成
                      python3-distro 已经是最新版 (1.3.0-1)。
                      python3-yaml 已经是最新版 (3.13-2)。
                      升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 721 个软件包未被升级。
                      --2023-05-17 22:50:10-- http://fishros.com/install/install1s/tools/base.py
                      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
                      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
                      已发出 HTTP 请求,正在等待回应... 200 OK
                      长度:42293 (41K) [application/octet-stream]
                      正在保存至: “/tmp/fishinstall/tools/base.py”

                      /tmp/fishinstall/to 100%[===================>] 41.30K --.-KB/s 用时 0.1s

                      2023-05-17 22:50:10 (411 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [42293/42293])

                      Run CMD Task:[dpkg --print-architecture]
                      [-]Result:success

                      基础检查通过...

                      ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
                      ======一键安装已开源,请放心使用:https://github.com/fishros/install=======

                                          .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                                      __.'              ~.   .~              `.__
                                  .'//     开卷有益        \./     书山有路     \ `.
                                  .'// 可以多看看小鱼的文章   |    关注公众号鱼香ROS  \ `.
                              .'// .-~"~~~~-._     |     _,-~~~~"~-. \`.
                              .'//.-"                 `-.  |  .-'                 "-.\`.
                          .'//______.============-..   \ | /   ..-============.______\`.
                          .'______________________________\|/______________________________`
                          ----------------------------------------------------------------------
                      

                      RUN Choose Task:[请输入括号内的数字]
                      ---众多工具,等君来用---
                      [1]:一键安装:ROS(支持ROS和ROS2,树莓派Jetson)
                      [2]:一键安装:github桌面版(小鱼常用的github客户端)
                      [3]:一键配置:rosdep(小鱼的rosdepc,又快又好用)
                      [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
                      [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
                      [6]:一键安装:node
                      [7]:一键安装:VsCode开发工具
                      [8]:一键安装:Docker
                      [9]:一键安装:Cartographer(内测版v0.1)
                      [10]:一键安装:微信(可以在Linux上使用的微信)
                      [11]:一键安装:ROS+Docker(支持所有版本ROS/ROS2)
                      [12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
                      [77]:测试模式:运行自定义工具测试
                      [0]:quit
                      请输入[]内的数字以选择:11
                      --2023-05-17 22:50:21-- http://fishros.com/install/install1s/tools/tool_install_ros_with_docker.py
                      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
                      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
                      已发出 HTTP 请求,正在等待回应... 200 OK
                      长度:11540 (11K) [application/octet-stream]
                      正在保存至: “/tmp/fishinstall/tools/tool_install_ros_with_docker.py”

                      /tmp/fishinstall/to 100%[===================>] 11.27K --.-KB/s 用时 0s

                      2023-05-17 22:50:21 (52.0 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_ros_with_docker.py” [11540/11540])

                      --2023-05-17 22:50:21-- http://fishros.com/install/install1s/tools/tool_install_vscode.py
                      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
                      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
                      已发出 HTTP 请求,正在等待回应... 200 OK
                      长度:1366 (1.3K) [application/octet-stream]
                      正在保存至: “/tmp/fishinstall/tools/tool_install_vscode.py”

                      /tmp/fishinstall/to 100%[===================>] 1.33K --.-KB/s 用时 0s

                      2023-05-17 22:50:22 (31.5 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_vscode.py” [1366/1366])

                      --2023-05-17 22:50:22-- http://fishros.com/install/install1s/tools/tool_install_docker.py
                      正在解析主机 fishros.com (fishros.com)... 139.9.131.171
                      正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
                      已发出 HTTP 请求,正在等待回应... 200 OK
                      长度:2882 (2.8K) [application/octet-stream]
                      正在保存至: “/tmp/fishinstall/tools/tool_install_docker.py”

                      /tmp/fishinstall/to 100%[===================>] 2.81K --.-KB/s 用时 0s

                      2023-05-17 22:50:22 (59.4 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_docker.py” [2882/2882])

                      欢迎使用一键安装ROS-Docker版,支持所有版本ROS,本工具由作者小鱼提供
                      ================================1.版本选择======================================
                      RUN Choose Task:[请输入括号内的数字]
                      请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
                      [1]:noetic
                      [2]:humble
                      [3]:foxy
                      [4]:galactic
                      [5]:melodic
                      [6]:rolling
                      [7]:kinetic
                      [8]:eloquent
                      [9]:dashing
                      [10]:crystal
                      [11]:bouncy
                      [12]:ardent
                      [13]:lunar
                      [14]:indigo
                      [0]:quit
                      请输入[]内的数字以选择:5
                      你选择了melodic(ROS1),该版本目前状态:长期支持
                      ================================2.安装Docker======================================
                      Run CMD Task:[docker version]
                      [-]Result:code:127

                      欢迎使用一键安装Docker,支持amd64和arm64架构系统,本工具由作者alyssa提供
                      开始根据系统架构,为你下载对应版本的docker~
                      Run CMD Task:[sudo apt update]
                      [|]获取:6 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates In[-]Result:success --upgradable’ 来查看它们。

                      Run CMD Task:[sudo apt install apt-transport-https ca-certificates curl software-properties-common -y]
                      [/]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 721 个软件包未[-]Result:success

                      Run CMD Task:[curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -]
                      [-]Result:success

                      Run CMD Task:[sudo apt-key fingerprint 0EBFCD88]
                      [-]Result:success deb) [email protected]

                      Run CMD Task:[sudo add-apt-repository "deb [arch=arm64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" -y]
                      Traceback (most recent call last):
                      File "/usr/bin/add-apt-repository"line 95in <module>
                      sp = SoftwareProperties(options=options)
                      File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py"line 109in init
                      self.reload_sourceslist()
                      File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py"line 599in reload_sourceslist
                      self.distro.get_sources(self.sourceslist)
                      File "/usr/lib/python3/dist-packages/aptsources/distro.py"line 93in get_sources
                      (self.idself.codename))
                      aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
                      下载完成,接下来升级apt索引~
                      Run CMD Task:[sudo apt update]
                      [|]获取:6 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates In[-]Result:success --upgradable’ 来查看它们。

                      开始安装最新版本docker CE~
                      Run CMD Task:[sudo apt --fix-broken install -y]
                      [/]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 721 个软件包未[-]Result:success

                      Run CMD Task:[sudo apt-cache search docker-ce ]
                      [-]Result:success

                      Traceback (most recent call last):
                      File "/tmp/fishinstall/install.py"line 91in <module>
                      main()
                      File "/tmp/fishinstall/install.py"line 83in main
                      run_tool_file(tools[code]['tool'].replace(url_prefix,'').replace("/","."))
                      File "/tmp/fishinstall/tools/base.py"line 1233in run_tool_file
                      if tool.run()==False: return False
                      File "/tmp/fishinstall/tools/tool_install_ros_with_docker.py"line 236in run
                      self.install_ros_with_docker()
                      File "/tmp/fishinstall/tools/tool_install_ros_with_docker.py"line 222in install_ros_with_docker
                      self.install_docker()
                      File "/tmp/fishinstall/tools/tool_install_ros_with_docker.py"line 138in install_docker
                      run_tool_file('tools.tool_install_docker')
                      File "/tmp/fishinstall/tools/base.py"line 1233in run_tool_file
                      if tool.run()==False: return False
                      File "/tmp/fishinstall/tools/tool_install_docker.py"line 64in run
                      self.install_docker()
                      File "/tmp/fishinstall/tools/tool_install_docker.py"line 55in install_docker
                      AptUtils.install_pkg_check_dep("docker-ce")
                      File "/tmp/fishinstall/tools/base.py"line 1183in install_pkg_check_dep
                      result = AptUtils.install_pkg(name)
                      File "/tmp/fishinstall/tools/base.py"line 1172in install_pkg
                      for key in dic.keys():
                      AttributeError: 'NoneType' object has no attribute 'keys'

                      这是完整过程

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

                        @1604333939 一键安装不支持树莓派系统

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

                        1 条回复 最后回复 回复 引用 0
                        • Z
                          lizeqing20021113
                          最后由 编辑

                          此回复已被删除!
                          1 条回复 最后回复 回复 引用 0
                          • 7347352937
                            734735293
                            最后由 编辑

                            spric@spric-desktop:~$ rosdep update
                            Traceback (most recent call last):
                              File "/usr/local/bin/rosdep"line 7in <module>
                                from rosdep2.main import rosdep_main
                              File "/usr/local/lib/python3.5/dist-packages/rosdep2/__init__.py"line 45in <module>
                                from .lookup import RosdepDefinitionRosdepViewRosdepLookup\
                              File "/usr/local/lib/python3.5/dist-packages/rosdep2/lookup.py"line 41in <module>
                                from .rospkg_loader import RosPkgLoader
                              File "/usr/local/lib/python3.5/dist-packages/rosdep2/rospkg_loader.py"line 39in <module>
                                import catkin_pkg.package
                              File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package.py"line 44in <module>
                                from catkin_pkg.condition import evaluate_condition
                              File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/condition.py"line 17in <module>
                                import pyparsing as pp
                              File "/usr/local/lib/python3.5/dist-packages/pyparsing/__init__.py"line 100
                                major: int
                                     ^
                            SyntaxError: invalid syntax
                            

                            在更新和初始化时,都出现这个报错

                            2098365252 1 条回复 最后回复 回复 引用 0
                            • 7347352937
                              734735293
                              最后由 编辑

                              更新源也错误了

                              小鱼:检测当前系统ubuntu16.04:xenial 支持一键安装ROS
                              Run CMD Task:[sudo apt update]
                              [-]Result:success                           --upgradable’ 来查看它们。eleasee
                              
                              Run CMD Task:[sudo apt-cache search curl ]
                              [-]Result:success                           kage retrieves data from url-format files such as http://ftp://package:// file://etc.and loads the data into memory.
                              
                              Run CMD Task:[sudo apt install curl -y]
                              [-]Result:success                           .卸载 0 个软件包,有 35 个软件包未被升级。
                              
                              Run CMD Task:[sudo apt-cache search gnupg2 ]
                              [-]Result:success                           eplacement (new v2.x)tainer easier
                              
                              Run CMD Task:[sudo apt install gnupg2 -y]
                              [-]Result:success                           .卸载 0 个软件包,有 35 个软件包未被升级。
                              
                              Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
                              [-]Result:success                           
                              
                              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]
                              [-]Result:success                           --upgradable’ 来查看它们。arm64 Packages [833 kB]
                              
                              Run CMD Task:[sudo apt-cache search ros-base ]
                              [-]Result:success                           h extends ros_core and includes other basic non-robot tools like actionlibdynamic reconfigurenodeletsand 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:success                           --upgradable’ 来查看它们。ackages [833 kB]
                              
                              Run CMD Task:[sudo apt-cache search ros-base ]
                              [-]Result:success                           h extends ros_core and includes other basic non-robot tools like actionlibdynamic reconfigurenodeletsand 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]
                              [-]Result:success                           --upgradable’ 来查看它们。es [131 kB]
                              
                              Run CMD Task:[sudo apt-cache search ros-base ]
                              [-]Result:success                           h extends ros_core and includes other basic non-robot tools like actionlibdynamic reconfigurenodeletsand 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]
                              [-]Result:code:100                           org) does not match target host name 'packages.ros.org'
                              
                              检测到发生证书校验错误['\n''WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n''\n''E: 仓库 “https://packages.ros.org/ros/ubuntu xenial Release” 没有 Release 文件。\n''E: 仓库 “https://packages.ros.org/ros2/ubuntu xenial Release” 没有 Release 文件。\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-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
                              [-]Result:success                           -keyserver
                              
                              Run CMD Task:[sudo apt update]
                              [-]Result:code:100                           org) does not match target host name 'packages.ros.org'
                              
                              apt更新失败,后续程序可能会继续尝试...,['\n''WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n''\n''E: 仓库 “https://packages.ros.org/ros/ubuntu xenial Release” 没有 Release 文件。\n''E: 仓库 “https://packages.ros.org/ros2/ubuntu xenial Release” 没有 Release 文件。\n']
                              Run CMD Task:[sudo apt-cache search ros-base ]
                              [-]Result:success                           h extends ros_core and includes other basic non-robot tools like actionlibdynamic reconfigurenodeletsand pluginlib.
                              
                              Run CMD Task:[sudo apt update]
                              [-]Result:code:100                           org) does not match target host name 'packages.ros.org'
                              
                              检测到发生证书校验错误['\n''WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n''\n''E: 仓库 “https://packages.ros.org/ros/ubuntu xenial Release” 没有 Release 文件。\n''E: 仓库 “https://packages.ros.org/ros2/ubuntu xenial Release” 没有 Release 文件。\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-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
                              [-]Result:success                           -keyserver
                              
                              Run CMD Task:[sudo apt update]
                              [-]Result:code:100                           org) does not match target host name 'packages.ros.org'
                              
                              apt更新失败,后续程序可能会继续尝试...,['\n''WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n''\n''E: 仓库 “https://packages.ros.org/ros/ubuntu xenial Release” 没有 Release 文件。\n''E: 仓库 “https://packages.ros.org/ros2/ubuntu xenial Release” 没有 Release 文件。\n']
                              四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
                              
                              1 条回复 最后回复 回复 引用 0
                              • ganyuanzhenG
                                Elysia 技术大佬
                                最后由 编辑

                                把 /etc/apt/sources.list.d/ 里面的文件里面的https换成http就好

                                这个问题是由系统证书链过期导致的。

                                我难道就没有一段英勇,美好而又虚幻的过去……幸运地写在金叶片上?

                                ganyuanzhenG 1 条回复 最后回复 回复 引用 0
                                • ganyuanzhenG
                                  Elysia 技术大佬 @ganyuanzhen
                                  最后由 编辑

                                  @ganyuanzhen
                                  @小鱼 建议小鱼在脚本里面加一个是否启用https的选项,以防止类似的在老旧系统上安装时出现的证书错误🤠

                                  我难道就没有一段英勇,美好而又虚幻的过去……幸运地写在金叶片上?

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

                                    @ganyuanzhen 有做这部分工作,可能存在bug,没有捕获

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

                                    1 条回复 最后回复 回复 引用 0
                                    • M
                                      my863124497
                                      最后由 编辑

                                      wget http://fishros.com/install -O fishros && . fishros
                                      --2023-08-21 14:18:09-- http://fishros.com/install
                                      正在连接 127.0.0.1:7890... 已连接。
                                      已发出 Proxy 请求,正在等待回应... 301 Moved Permanently
                                      位置:http://fishros.com/install/ [跟随至新的 URL]
                                      --2023-08-21 14:18:09-- http://fishros.com/install/
                                      再次使用存在的到 127.0.0.1:7890 的连接。
                                      已发出 Proxy 请求,正在等待回应... 200 OK
                                      长度: 582 [application/octet-stream]
                                      正在保存至: “fishros”

                                      fishros 100%[===================>] 582 --.-KB/s 用时 0s

                                      2023-08-21 14:18:09 (53.9 MB/s) - 已保存 “fishros” [582/582])

                                      .: 没有那个文件或目录: fishros

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

                                        @my863124497 改下指令 wget http://fishros.com/install -O fishros && /bin/bash fishros

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

                                        1 条回复 最后回复 回复 引用 0
                                        • 10572976221
                                          不再是不再有
                                          最后由 编辑

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

                                          登录

                                          首页 排行榜
                                          反馈 友链-推书君 免责声明