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

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

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

      fishros
      --2024-03-25 19:34:21-- http://fishros.com/install
      正在解析主机 fishros.com (fishros.com)... 47.119.165.169
      正在连接 fishros.com (fishros.com)|47.119.165.169|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
      位置:http://fishros.com/install/ [跟随至新的 URL]
      --2024-03-25 19:34:21-- http://fishros.com/install/
      再次使用存在的到 fishros.com:80 的连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 579 [application/octet-stream]
      正在保存至: “fishros”

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

      2024-03-25 19:34:21 (228 MB/s) - 已保存 “fishros” [579/579])

      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树
      正在读取状态信息... 完成
      python3-yaml 已经是最新版 (3.12-1build2)。
      python3-yaml 已设置为手动安装。
      您也许需要运行“apt --fix-broken install”来修正上面的错误。
      下列软件包有未满足的依赖关系:
      code : 依赖: libc6 (>= 2.28) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libgssapi-krb5-2 (>= 1.17) 但是 1.16-2ubuntu0.2 正要被安装
      依赖: libxkbfile1 (>= 1:1.1.0) 但是 1:1.0.9-2 正要被安装
      推荐: libvulkan1 但是它将不会被安装
      linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libssl3 (>= 3.0.0) 但无法安装它
      linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libssl3 (>= 3.0.0) 但无法安装它
      E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
      --2024-03-25 19:34:21-- http://mirror.fishros.com/install/tools/base.py
      正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 44656 (44K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/base.py”

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

      2024-03-25 19:34:21 (669 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [44656/44656])

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

      Run CMD Task:[wget https://fishros.org.cn/forum/topic/1733 -O /tmp/t1733 -q && rm -rf /tmp/t1733]
      [-]Result:success

      基础检查通过...

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

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

      RUN Choose Task:[请输入括号内的数字]
      ---众多工具,等君来用---
      ROS相关:
      [1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson)
      [3]:一键安装:rosdep(小鱼的rosdepc,又快又好用)
      [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
      [9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125)
      [11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2)
      [16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用)

      常用软件:
      [2]:一键安装:github桌面版(小鱼常用的github客户端)
      [6]:一键安装:NodeJS环境
      [7]:一键安装:VsCode开发工具
      [8]:一键安装:Docker
      [10]:一键安装:微信(可以在Linux上使用的微信)
      [12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
      [14]:一键安装:科学上网代理工具
      [15]:一键安装:QQ for Linux

      配置工具:
      [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
      [13]:一键配置:python国内源

      请输入[]内的数字以选择:1
      --2024-03-25 19:34:44-- http://mirror.fishros.com/install/tools/tool_install_ros.py
      正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 19468 (19K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_install_ros.py”

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

      2024-03-25 19:34:44 (595 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_ros.py” [19468/19468])

      --2024-03-25 19:34:44-- http://mirror.fishros.com/install/tools/tool_config_rosenv.py
      正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 2457 (2.4K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_config_rosenv.py”

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

      2024-03-25 19:34:44 (902 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_rosenv.py” [2457/2457])

      --2024-03-25 19:34:44-- http://mirror.fishros.com/install/tools/tool_config_system_source.py
      正在解析主机 mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      正在连接 mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... 已连接。
      已发出 HTTP 请求,正在等待回应... 200 OK
      长度: 7708 (7.5K) [application/octet-stream]
      正在保存至: “/tmp/fishinstall/tools/tool_config_system_source.py”

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

      2024-03-25 19:34:44 (1.49 GB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_system_source.py” [7708/7708])

      欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
      欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
      小鱼:检测当前系统ubuntu18.04:bionic 支持一键安装ROS
      =========接下来这一步很很很很重要,如果不知道怎么选请选择1========
      RUN Choose Task:[请输入括号内的数字]
      新手或首次安装一定要一定要一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
      [1]:更换系统源再继续安装
      [2]:不更换继续安装
      0:quit
      请输入[]内的数字以选择:1
      欢迎使用一键换源工具,本工具由[鱼香ROS]小鱼贡献..
      RUN Choose Task:[请输入括号内的数字]
      请选择换源方式,如果不知道选什么请选2
      [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

      检测到当前系统架构为[amd64:bionic],正在为你更换对应源..
      创建文件:/etc/apt/sources.list
      替换完成,尝试第一次更新....
      Run CMD Task:[sudo apt update]
      [-]Result:success --upgradable’ 来查看它们。

      搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
      ['命中:1 https://mirrors.ustc.edu.cn/ubuntu bionic InRelease', '命中:2 https://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease', '命中:3 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease', '命中:4 https://mirrors.ustc.edu.cn/ubuntu bionic-security InRelease', '正在读取软件包列表...', '正在分析软件包的依赖关系树...', '正在读取状态信息...', '有 333 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。']
      镜像修复完成.....
      Run CMD Task:[sudo apt update]
      [-]Result:success --upgradable’ 来查看它们。

      Run CMD Task:[sudo apt-cache search curl ]
      [/]libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavou[/]libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS[]libcurl4-nss-dev - development files and documentation for libcurl (NSS flavo[|]libcurl4-openssl-dev - development files and documentation for libcurl (OpenS[/]libstrongswan-extra-plugins - strongSwan utility and crypto library (extra pl[-]cl-curry-compose-reader-macros - Reader macros for function partial applicati[-]flickcurl-doc - utilities to call the Flickr API from command line - document[/]gnupg1 - GNU privacy guard - a PGP implementation (deprecated "classic" versi[|]golang-github-moul-http2curl-dev - Go package for convert Golang's http.Reque[|]kubuntu-wallpapers-bionic - Selection of classic KDE wallpapers for Bionic Be[-]libcupt4-2-downloadmethod-curl - flexible package manager -- libcurl download[|]libcurl-openssl1.0-dev - development files and documentation for libcurl (Ope[/]libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbol[|]libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentati[-]libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; prof[/]libghc-hxt-doc - collection of tools for processing XML with Haskell; documen[|]libghc-hxt-http-doc - Interface to native Haskell HTTP package HTTP; document[-]libghc-hxt-http-prof - Interface to native Haskell HTTP package HTTP; profili[/]libghc-hxt-prof - collection of tools for processing XML with Haskell; profil[]libresource-retriever-dev - Robot OS resource_retriever library - development[|]libwsman-curl-client-transport1 - Open Web Services Manager run-time librarie[-]Result:success age - all developer toolsnt filesMPD

      Run CMD Task:[sudo apt install curl -y]

      linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[] linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 赖: libssl3 (>= 3.0.0) 但无法安装它

      Run CMD Task:[sudo apt-cache search gnupg2 ]
      [|]gnupg2 - GNU privacy guard - a free PGP replacement (dummy transitional packa[-]Result:success

      Run CMD Task:[sudo apt install gnupg2 -y]

      linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[] linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 赖: libssl3 (>= 3.0.0) 但无法安装它

      Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
      [-]Result:code:2

      Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
      [-]Result:code:2

      导入密钥失败,开始更换导入方式并二次尝试...
      Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
      []Executing: /tmp/apt-key-gpghome.ea3PGPdsru/gpg.1.sh --keyserver keyserver.ubu[-]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/']
      创建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [|]获取:6 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic InRelease [4,68[-]获取:7 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release [3,798 B[/]获取:8 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main amd64 Pack[]获取:9 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release.gpg [833[|]获取:10 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic/main amd64 Pack[-]Result:success --upgradable’ 来查看它们。

      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-melodic-end-effector - End-Effector package: provides a ROS-based set of []ros-melodic-ros-base - A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure, nodelets, and plugi[|]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[-]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [/]ros-dashing-ros-base - A package which extends 'ros_core' and includes other []ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-melodic-end-effector - End-Effector package: provides a ROS-based set of []ros-melodic-ros-base - A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure, nodelets, and plugi[|]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[-]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [/]ros-dashing-ros-base - A package which extends 'ros_core' and includes other []ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      RUN Choose Task:[请输入括号内的数字]
      请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
      [1]:melodic(ROS1)
      [2]:bouncy(ROS2)
      [3]:crystal(ROS2)
      [4]:dashing(ROS2)
      [5]:eloquent(ROS2)
      0:quit
      请输入[]内的数字以选择:1
      RUN Choose Task:[请输入括号内的数字]
      请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
      [1]:melodic(ROS1)桌面版
      [2]:melodic(ROS1)基础版(小)
      0:quit
      请输入[]内的数字以选择:1
      Run CMD Task:[sudo apt-cache search aptitude ]
      [|]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]libcwidget-dev - high-level terminal interface library for C++ (development f[|]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[-]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[/]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[|]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[/]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[-]apticron-systemd - Simple tool to mail about pending package updates - system[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[-]Result:success end for Debian

      Run CMD Task:[sudo apt install aptitude -y]

      linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 赖: libssl3 (>= 3.0.0) 但无法安装它

      Run CMD Task:[sudo apt-cache search aptitude ]
      [|]aptitude-common - architecture independent files for the aptitude package man[-]aptitude-doc-en - English manual for aptitude, a terminal-based package manag[/]libcwidget-dev - high-level terminal interface library for C++ (development f[|]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manag[-]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manag[/]aptitude-doc-fr - French manual for aptitude, a terminal-based package manage[]aptitude-doc-it - Italian manual for aptitude, a terminal-based package manag[|]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package mana[/]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package manag[-]apticron-systemd - Simple tool to mail about pending package updates - system[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain tr[-]Result:success end for Debian

      Run CMD Task:[sudo apt install aptitude -y]

      linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 赖: libssl3 (>= 3.0.0) 但无法安装它

      Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]
      正在读取软件包列表... 完成
      正在分析软件包的依赖关系树
      正在读取状态信息... 完成
      您也许需要运行“apt --fix-broken install”来修正上面的错误。
      下列软件包有未满足的依赖关系:
      code : 依赖: libc6 (>= 2.28) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libgssapi-krb5-2 (>= 1.17) 但是 1.16-2ubuntu0.2 正要被安装
      依赖: libxkbfile1 (>= 1:1.1.0) 但是 1:1.0.9-2 正要被安装
      推荐: libvulkan1 但是它将不会被安装
      linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libssl3 (>= 3.0.0) 但无法安装它
      linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubuntu1.4 正要被安装
      依赖: libssl3 (>= 3.0.0) 但无法安装它
      ros-melodic-desktop-full : 依赖: ros-melodic-desktop 但是它将不会被安装
      依赖: ros-melodic-perception 但是它将不会被安装
      依赖: ros-melodic-simulators 但是它将不会被安装
      依赖: ros-melodic-urdf-sim-tutorial 但是它将不会被安装
      E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
      Run CMD Task:[sudo apt install ros-melodic-desktop-full -y]
      [|] linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[/] linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[] 依赖: ros-melodic-urdf-sim-tutorial 但是它将不会 [-]Result:code:100

      ============================================================
      请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决(若无法解决,清在稍后手动运行命令: sudo aptitude install ros-melodic-desktop-full)
      确认了解情况,请输入回车继续安装n
      Run CMD Task:[sudo aptitude install ros-melodic-desktop-full]
      sudo: aptitude:找不到命令
      Run CMD Task:[sudo aptitude install ros-melodic-desktop-full -y]
      [-]Result:code:1

      Run CMD Task:[sudo apt-cache search python-catkin-tools ]
      [-]Result:success for working with catkin.

      Run CMD Task:[sudo apt install python-catkin-tools -y]
      [|] linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[/] linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 ools 但是它将不会被安装 装会被安装

      Run CMD Task:[sudo apt-cache search python-rosdep ]
      []python-rosdep2 - rosdep package manager abstraction tool for Robot OS (Python[-]Result:success nager abstraction tool for ROS

      Run CMD Task:[sudo apt install python-rosdep -y]
      [|] linux-headers-5.19.16-051916-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[/] linux-headers-5.19.17-051917-generic : 依赖: libc6 (>= 2.34) 但是 2.27-3ubun[-]Result:code:100 es (>= 0.22.2) 但是它将不会被安装它

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

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

      欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
      鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
      如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈

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

        @Zhiqh1 出现依赖错误

        1 条回复 最后回复 回复 引用 0
        • 1
          ☀️
          最后由 编辑

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

          香
          IMG_20240416_202942.jpg IMG_20240416_202927.jpg
          为什么最后输入ros2就是未找到,明明前面是对的

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

            @1787170156 https://fishros.org.cn/forum/topic/151/提问前必看-不符合要求的问题拒绝回答

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

            1 条回复 最后回复 回复 引用 0
            • 1
              0.01📲
              最后由 编辑

              一键安装不支持ubuntu23.10吗? 使用的是树莓派5

              1 条回复 最后回复 回复 引用 0
              • 1
                沧悦
                最后由 编辑

                RUN Choose Task:[请输入括号内的数字]
                请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
                [1]:noetic(ROS1)
                [2]:foxy(ROS2)
                [3]:galactic(ROS2)
                [4]:rolling(ROS2)
                [0]:quit
                大佬您好,我一键安装,没有humble选项 ,我的ubantu是20.04.6版本 ,我就先下了个foxy每次打开终端都会显示 ros:foxy(1) noetic(2) ?应该怎么选呀 ,现在我想下humble版本应该怎么解决牙😳

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

                  @1667352970 因为你是ubuntu20.04 所以找不到,ros版本和系统版本是有对应关系的

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

                  1 条回复 最后回复 回复 引用 0
                  • 1
                    月翘上枝头
                    最后由 编辑

                    请问我在ubuntu2004上使用一键安装报错如下该怎么解决呢,该错误是将系统自带的python3.8升级成11后开始出现的,我将系统的python3软链接给pyhon311了

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

                    2024-05-31 13:23:54 (380 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [44650/44650])

                    WARN:No Yaml Module!
                    Traceback (most recent call last):
                    File "/tmp/fishinstall/install.py", line 123, in <module>
                    main()
                    File "/tmp/fishinstall/install.py", line 58, in main
                    from tools.base import CmdTask,FileUtils,PrintUtils,ChooseTask,ChooseWithCategoriesTask
                    File "/tmp/fishinstall/tools/base.py", line 773, in <module>
                    osversion = GetOsVersion()
                    ^^^^^^^^^^^^^^
                    File "/tmp/fishinstall/tools/base.py", line 103, in GetOsVersion
                    import distro
                    ModuleNotFoundError: No module named 'distro'

                    1 3 条回复 最后回复 回复 引用 0
                    • 1
                      月翘上枝头 @1597854501
                      最后由 编辑

                      @1597854501 我现在已经尝试过pip3 distro,修改系统变量将3.11的site-package路径加到pythonpath,再次运行一键安装时读取状态信息也可以识别到distro,但到了“已保存/tmp/fishinstall/tools/base.py"后运行还是会报错No module named distro,请问这是怎么回事呢

                      1 条回复 最后回复 回复 引用 0
                      • 1
                        月翘上枝头 @1597854501
                        最后由 编辑

                        @1597854501 更改etc/environment,添加pythonpath后,报错最终追溯到lsb_release,这是不是因为我修改系统默认python3.8到3.11导致的呢

                        1 条回复 最后回复 回复 引用 0
                        • 1
                          月翘上枝头 @1597854501
                          最后由 编辑

                          @1597854501 破案了,我找到报错文件,将开头的python3改成python3.8即可,推测原因为系统自带的这些功能默认用python3去软链接系统自带的python3.8,但我升级后将python3软连接给了python3.11,python3.11并不支持系统的ls_release等功能,故须像上述一样主动修改python3为python11,希望大家对我的教训引以为戒吧

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

                            我在树莓派ubuntu mate 16.04 上安装ros1-Kinetic无法定位软件包9da69809-8171-4ddf-b87f-1f1e5453049f-c711e019ce12cd103a476cd601eb4e7.jpg

                            1 条回复 最后回复 回复 引用 0
                            • 叮
                              叮又叮不懂鞋又鞋不会 @2090127048
                              最后由 编辑

                              @2090127048 sudo pip install distro 或者 sudo pip3 install distro

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

                                RUN Choose Task:[请输入括号内的数字]
                                请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
                                [1]:bouncy(ROS2)
                                [2]:crystal(ROS2)
                                [3]:dashing(ROS2)
                                [4]:eloquent(ROS2)
                                [5]:melodic(ROS1)
                                [0]:quit
                                请输入[]内的数字以选择:2
                                RUN Choose Task:[请输入括号内的数字]
                                请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
                                [1]:crystal(ROS2)桌面版
                                [2]:crystal(ROS2)基础版(小)
                                [0]:quit
                                请输入[]内的数字以选择:2
                                Run CMD Task:[sudo apt search aptitude ]
                                [-][1.67s] Simple tool to mail about pending package updates - systemd versio[][1.67s] brain teaser game and trainer to have fun and to keep your brain t[-][1.67s] CMD Result:success es)

                                Run CMD Task:[sudo apt install aptitude -y]
                                [-][0.00s] CMD Result:code:100

                                Run CMD Task:[sudo apt install ros-crystal-ros-base -y]
                                E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
                                E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
                                Run CMD Task:[sudo apt install ros-crystal-ros-base -y]
                                [-][0.00s] CMD Result:code:100

                                Run CMD Task:[ls /opt/ros/crystal/setup.bash]
                                [/][0.00s] ls: cannot access '/opt/ros/crystal/setup.bash': No such file or dir[-][0.00s] CMD Result:code:2

                                安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
                                Run CMD Task:[ls /opt/ros/crystal/setup.bash]
                                [/][0.00s] ls: cannot access '/opt/ros/crystal/setup.bash': No such file or dir[-][0.00s] CMD Result:code:2
                                请问这个改怎么解决

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

                                  @2960110040 等一下吧,系统里有其他的程序在占用dpkg。一般是系统的自动更新

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

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

                                    一键安装会安装moveit吗

                                    1 条回复 最后回复 回复 引用 0
                                    • Y
                                      ygx
                                      最后由 编辑

                                      HELP:
                                      问题:roscore报错:
                                      ... logging to /home/nuc/.ros/log/d5a6d328-d4ad-11ef-8b12-d1928152a029/roslaunch-nuc-BQM5-36720.log
                                      Checking log directory for disk usage. This may take a while.
                                      Press Ctrl-C to interrupt
                                      Done checking log file disk usage. Usage is <1GB.

                                      RLException: Unable to contact my own server at [http://192.168.31.213:44895/].
                                      This usually means that the network is not configured properly.

                                      A common cause is that the machine cannot connect to itself. Please check
                                      for errors by running:

                                      ping 192.168.31.213
                                      

                                      For more tips, please see

                                      http://wiki.ros.org/ROS/NetworkSetup
                                      

                                      The traceback for the exception was written to the log file

                                      描述:本来有一个foxy版本ROS,后来又一键安装了一个noetic的版本,然后在网上搜索后把foxy版本的删除了,现在又通过一键安装下载回来了现在每次打开终端之后,会先有这个询问:ros:foxy(1) noetic(2) ?
                                      我输入 2 换行后,输入roscore,出现上述问题。

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