小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ros2安装失败
-
--2024-08-30 14:00:42-- 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-08-30 14:00:42-- http://fishros.com/install/
再次使用存在的到 fishros.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 579 [application/octet-stream]
正在保存至: “fishros”fishros 100%[===================>] 579 --.-KB/s 用时 0s
2024-08-30 14:00:42 (31.8 MB/s) - 已保存 “fishros” [579/579])
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
python3-yaml 已经是最新版 (3.12-1build2)。
python3-distro 已经是最新版 (1.0.1-2)。
wget http://fishros.com/install -O fishros && . fishros
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
--2024-08-30 14:00:45-- 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
长度: 44650 (44K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/base.py”/tmp/fishinstall/to 100%[===================>] 43.60K --.-KB/s 用时 0.08s
2024-08-30 14:00:45 (552 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [44650/44650])
Run CMD Task:[dpkg --print-architecture]
[-]Result:successRun 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国内源
[17]:一键配置: Docker代理(支持VPN+代理服务两种模式)请输入[]内的数字以选择:请输入[]内的数字以选择:1
--2024-08-30 14:01:06-- 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
长度: 19723 (19K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_install_ros.py”/tmp/fishinstall/to 100%[===================>] 19.26K --.-KB/s 用时 0.03s
2024-08-30 14:01:06 (646 KB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_ros.py” [19723/19723])
--2024-08-30 14:01:06-- 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
长度: 2455 (2.4K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_config_rosenv.py”/tmp/fishinstall/to 100%[===================>] 2.40K --.-KB/s 用时 0s
2024-08-30 14:01:06 (104 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_rosenv.py” [2455/2455])
--2024-08-30 14:01:06-- 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
长度: 7738 (7.6K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_config_system_source.py”/tmp/fishinstall/to 100%[===================>] 7.56K --.-KB/s 用时 0s
2024-08-30 14:01:06 (19.5 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_config_system_source.py” [7738/7738])
欢迎使用一键安装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:successRun CMD Task:[sudo mkdir -p /etc/apt/sources.list.d]
[-]Result:successRun CMD Task:[dpkg --print-architecture]
[-]Result:success检测到当前系统架构为[arm64:bionic],正在为你更换对应源..
创建文件:/etc/apt/sources.list
替换完成,尝试第一次更新....
Run CMD Task:[sudo apt update]
[-]Result:success -ports bionic-security InReleasee搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['命中:1 https://mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease', '命中:2 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease', '命中:3 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease', '命中:4 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease', '正在读取软件包列表...', '正在分析软件包的依赖关系树...', '正在读取状态信息...', '所有软件包均为最新。', '']
镜像修复完成.....
Run CMD Task:[sudo apt update]
[-]Result:success -ports bionic-security InReleaseeRun CMD Task:[sudo apt search curl ]
This package retrieves data from url-format files such as http://, ftp://, [|]rust-all/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18[]rust-clippy/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0[/]rust-doc/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18[-]rust-gdb/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18[|]rust-lldb/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.1[]rust-src/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18[/]rustc/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18.04[-]rustfmt/bionic-updates,bionic-security 1.65.0+dfsg0ubuntu1~llvm2-0ubuntu0.18.[|]uwsgi-infrastructure-plugins/bionic-updates,bionic-security 2.0.15-10.2ubuntu[]uwsgi-plugin-alarm-curl/bionic-updates,bionic-security 2.0.15-10.2ubuntu2.2 a[/]uwsgi-plugin-curl-cron/bionic-updates,bionic-security 2.0.15-10.2ubuntu2.2 ar[-]Result:success ld3 arm64ck appRun CMD Task:[sudo apt install curl -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[sudo apt search gnupg2 ]
[-]Result:success ent (dummy transitional package)Run CMD Task:[sudo apt install gnupg2 -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:successRun 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/ros/ubuntu bionic Release.gpg [833[]获取:9 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 Pack[|]获取:10 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic/main arm64 Pack[-]Result:successRun CMD Task:[sudo apt search ros-base ]
A package which extends 'ros_core' and includes other basic functionalities[|] A package which extends 'ros_core' and includes other basic functionalities[] End-Effector package: provides a ROS-based set of standard interfaces to co[/] A metapackage which extends ros_core and includes other basic non-robot too[-]Result:success lets, and pluginlib.恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
Run CMD Task:[sudo apt search ros-base ]
A package which extends 'ros_core' and includes other basic functionalities[|] A package which extends 'ros_core' and includes other basic functionalities[] End-Effector package: provides a ROS-based set of standard interfaces to co[/] A metapackage which extends ros_core and includes other basic non-robot too[-]Result:success lets, and pluginlib.RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:bouncy(ROS2)
[2]:crystal(ROS2)
[3]:dashing(ROS2)
[4]:eloquent(ROS2)
[5]:melodic(ROS1)
0:quit
请输入[]内的数字以选择:4
RUN Choose Task:[请输入括号内的数字]
请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
[1]:eloquent(ROS2)桌面版
[2]:eloquent(ROS2)基础版(小)
0:quit
请输入[]内的数字以选择:1
Run CMD Task:[sudo apt search aptitude ]
[-]Result:success r Debiandevelopment files)trainedRun CMD Task:[sudo apt install aptitude -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[sudo apt search aptitude ]
[-]Result:success r Debiandevelopment files)trainedRun CMD Task:[sudo apt install aptitude -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[sudo apt install ros-eloquent-desktop -y]
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:
libxml2-utils python3-ifcfg python3-lark-parser python3-netifaces
python3-psutil python3-pydot python3-pyqt5 python3-pyqt5.qtsvg
ros-elocn/ros2/ubuntu/pool/main/r/ros-eloquent-urdfdom-headers/ros-eloquent-urdfdom-headers_1.0.4-1bionic.20201201.192350_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-urdfdom/ros-eloquent-urdfdom_2.2.0-1bionic.20201202.011024_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-urdf/ros-eloquent-urdf_2.2.0-1bionic.20201204.224439_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-kdl-parser/ros-eloquent-kdl-parser_2.2.1-1bionic.20201204.224738_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-message-filters/ros-eloquent-message-filters_3.2.3-1bionic.20201208.033945_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-tf2/ros-eloquent-tf2_0.12.6-1bionic.20201208.032727_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-tf2-msgs/ros-eloquent-tf2-msgs_0.12.6-1bionic.20201208.032841_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-tf2-py/ros-eloquent-tf2-py_0.12.6-1bionic.20201208.033139_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-tf2-ros/ros-eloquent-tf2-ros_0.12.6-1bionic.20201208.040214_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-robot-state-publisher/ros-eloquent-robot-state-publisher_2.3.1-1bionic.20201208.041049_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-dummy-robot-bringup/ros-eloquent-dummy-robot-bringup_0.8.4-1bionic.20201208.064602_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-examples-rclcpp-minimal-action-client/ros-eloquent-examples-rclcpp-minimal-action-client_0.8.3-1bionic.20201208.060800_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-examples-r
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2service/ros-eloquent-ros2service_0.8.8-1bionic.20201208.095141_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2param/ros-eloquent-ros2param_0.8.8-1bionic.20201208.095510_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2pkg/ros-eloquent-ros2pkg_0.8.8-1bionic.20201208.095011_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2component/ros-eloquent-ros2component_0.8.8-1bionic.20201208.095858_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2doctor/ros-eloquent-ros2doctor_0.8.8-1bionic.20201208.022726_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2interface/ros-eloquent-ros2interface_0.8.8-1bionic.20201208.094845_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-ros2launch/ros-eloquent-ros2launch_0.9.6-1bionic.20201208.095359_arm64.deb 404 Not Found [IP:
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-rqt-publisher/ros-eloquent-rqt-publisher_1.1.0-1bionic.20201208.054436_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
E: 无法下载 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/pool/main/r/ros-eloquent-rqt-py-console/ros-eloquent-rqt-py-console_1.0.0-1bionic.20201208.022651_arm64.deb 404 Not Found [IP: 101.6.15.130 80]
http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:223 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:224 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:225 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:226 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:227 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:228 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:229 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:230 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:231 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:232 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:233 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:234 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:235 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:236 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:237 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[/]错误:238 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[|]错误:239 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 ro[-]Result:code:100 10.230810Run CMD Task:[sudo apt search python3-colcon-common-extensions ]
[-]Result:success d common extensions.l [已安装]Run CMD Task:[sudo apt install python3-colcon-common-extensions -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[sudo apt search python3-argcomplete ]
[-]Result:success ython 3) [已安装]Run CMD Task:[sudo apt install python3-argcomplete -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[sudo apt search python3-rosdep ]
[-]Result:success for Robot OS (Python 3)Run CMD Task:[sudo apt install python3-rosdep -y]
[]升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被[-]Result:successRun CMD Task:[ls /opt/ros/eloquent/setup.bash]
[-]Result:code:2安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
Run CMD Task:[ls /opt/ros/eloquent/setup.bash]
[-]Result:code:2欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈 -
全是err,而且给出的所有的ros2都试过了都是一样的错误