小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装ros2显示没有找到包:python3-argcomplete
-
@小鱼 我把所有的命令行分两次发的,麻烦你看一下。全部过程就在这
-
@小鱼我刚刚重新试一下一键安装,之前选的不换源,我现在选择换源,接着换源方式应该选啥呢?
欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
小鱼:检测当前系统ubuntu22.04:jammy 支持一键安装ROS
=========接下来这一步很重要,如果不知道怎么选请选择1========
RUN Choose Task:[请输入括号内的数字]
首次安装一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
[1]:更换系统源再继续安装
[2]:不更换继续安装
[0]:quit
请输入[]内的数字以选择:1
欢迎使用一键换源工具,本工具由[鱼香ROS]小鱼贡献..
RUN Choose Task:[请输入括号内的数字]
请选择换源方式,如果不知道选什么请选2
[1]:仅更换系统源
[2]:更换系统源并清理第三方源
[0]:quit
请输入[]内的数字以选择: -
@阿来呀 我改了一下,你再试一次
-
@小鱼 我现在要选择换源方式,我应该咋选
-
@阿来呀 建议换一下吧,你之前是不是手动安装过
-
@小鱼 是的,之前是手动装过
-
@小鱼 请选择换源方式,如果不知道选什么请选2
[1]:仅更换系统源
[2]:更换系统源并清理第三方源
[0]:quit
请输入[]内的数字以选择:我是选1还是2呢
-
@阿来呀 应该是手动装没装好,产生了依赖问题,而且是一个比较奇怪的依赖,一键安装刚好没捕获它,我刚加了进去,现在应该可以捕获然后提供解决方案了
-
@阿来呀 选2就行,把你之前手动加的清除下
-
@小鱼 前面一直未报错,怎么最后还是显示失败呢
-
@阿来呀 这个我也要看一下全部日志才知道
贴一下
-
@小鱼 ltl@ltl-pc:~$ wget http://fishros.com/install -O fishros && . fishros
--2022-07-07 09:48:20-- http://fishros.com/install
Resolving fishros.com (fishros.com)... 139.9.131.171
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://fishros.com/install/ [following]
--2022-07-07 09:48:21-- http://fishros.com/install/
Reusing existing connection to fishros.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 543 [application/octet-stream]
Saving to: ‘fishros’fishros 100%[==============================================================================================>] 543 --.-KB/s in 0s
2022-07-07 09:48:21 (67.6 MB/s) - ‘fishros’ saved [543/543]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-distro is already the newest version (1.7.0-1).
python3-yaml is already the newest version (5.4.1-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2022-07-07 09:48:21-- http://fishros.com/install/install1s/tools/base.py
Resolving fishros.com (fishros.com)... 139.9.131.171
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41998 (41K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/base.py’/tmp/fishinstall/tools/base.py 100%[==============================================================================================>] 41.01K --.-KB/s in 0.1s
2022-07-07 09:48:21 (392 KB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [41998/41998]
Run CMD Task:[dpkg --print-architecture]
[-]Result:success基础检查通过...
======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
======一键安装已开源,请放心使用:https://github.com/fishros/install=======.-~~~~~~~~~-._ _.-~~~~~~~~~-. __.' ~. .~ `.__ .'// 开卷有益 \./ 书山有路 \ `. .'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \ `. .'// .-~"~~~~-._ | _,-~~~~"~-. \`. .'//.-" `-. | .-' "-.\`. .'//______.============-.. \ | / ..-============.______\`. .'______________________________\|/______________________________` ----------------------------------------------------------------------
RUN Choose Task:[请输入括号内的数字]
---众多工具,等君来用---
[1]:一键安装:ROS(支持ROS和ROS2,树莓派Jetson)
[11]:一键安装:ROS+Docker(支持所有版本ROS/ROS2)
[2]:一键安装:github桌面版(小鱼常用的github客户端)
[3]:一键配置:rosdep(小鱼的rosdepc,又快又好用)
[4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[6]:一键安装:nodejs
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[9]:一键安装:Cartographer(内测版v0.1)
[10]:一键安装:微信(可以在Linux上使用的微信)
[77]:测试模式:运行自定义工具测试
[0]:quit
请输入[]内的数字以选择:1
--2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_install_ros.py
Resolving fishros.com (fishros.com)... 139.9.131.171
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17766 (17K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_ros.py’/tmp/fishinstall/to 100%[===================>] 17.35K --.-KB/s in 0.06s
2022-07-07 09:48:45 (292 KB/s) - ‘/tmp/fishinstall/tools/tool_install_ros.py’ saved [17766/17766]
--2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_config_rosenv.py
Resolving fishros.com (fishros.com)... 139.9.131.171
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2457 (2.4K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_rosenv.py’/tmp/fishinstall/to 100%[===================>] 2.40K --.-KB/s in 0s
2022-07-07 09:48:45 (410 MB/s) - ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ saved [2457/2457]
--2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_config_system_source.py
Resolving fishros.com (fishros.com)... 139.9.131.171
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7511 (7.3K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_system_source.py’/tmp/fishinstall/to 100%[===================>] 7.33K --.-KB/s in 0s
2022-07-07 09:48:45 (183 MB/s) - ‘/tmp/fishinstall/tools/tool_config_system_source.py’ saved [7511/7511]
欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
小鱼:检测当前系统ubuntu22.04:jammy 支持一键安装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检测到当前系统架构为[amd64:jammy],正在为你更换对应源..
替换完成,尝试第一次更新....
Run CMD Task:[sudo apt update]
[/]Get:8 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 DEP-11 Metadata [42[]Get:9 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 48x48 Icons [100.0[|]Get:10 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64 Icons [148 [-]Get:11 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64@2 Icons [15[/]Get:12 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 c-n-f Metadata [30[]Get:13 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 Packages [12[|]Get:14 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted i386 Packages [30.[-]Get:15 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted Translation-en [18[/]Get:16 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 c-n-f Metada[]Get:17 https://mirrors.ustc.edu.cn/ubuntu jammy/universe i386 Packages [7,474 kB]
[|]Get:18 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages [14.1 MB]
[-]Result:success --upgradable' to see them.ckages [151 kB]adata [228 B]]]搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['Get:1 https://mirrors.ustc.edu.cn/ubuntu jammy InRelease [270 kB]', 'Get:2 https://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease [114 kB]', 'Get:3 https://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease [99.8 kB]', 'Get:4 https://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease [110 kB]', 'Get:5 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages [1,395 kB]', 'Get:6 https://mirrors.ustc.edu.cn/ubuntu jammy/main i386 Packages [1,040 kB]', 'Get:7 https://mirrors.ustc.edu.cn/ubuntu jammy/main Translation-en [510 kB]', 'Get:8 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 DEP-11 Metadata [423 kB]', 'Get:9 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 48x48 Icons [100.0 kB]', 'Get:10 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64 Icons [148 kB]', 'Get:11 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64@2 Icons [15.8 kB]', 'Get:12 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 c-n-f Metadata [30.3 kB]', 'Get:13 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 Packages [129 kB]', 'Get:14 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted i386 Packages [30.4 kB]', 'Get:15 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted Translation-en [18.6 kB]', 'Get:16 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B]', 'Get:17 https://mirrors.ustc.edu.cn/ubuntu jammy/universe i386 Packages [7,474 kB]', 'Get:18 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages [14.1 MB]', 'Get:19 https://mirrors.ustc.edu.cn/ubuntu jammy/universe Translation-en [5,652 kB]', 'Get:20 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 DEP-11 Metadata [3,559 kB]', 'Get:21 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 48x48 Icons [3,447 kB]', 'Get:22 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 64x64 Icons [7,609 kB]', 'Get:23 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 64x64@2 Icons [69.3 kB]', 'Get:24 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]', 'Get:25 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse i386 Packages [112 kB]', 'Get:26 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 Packages [217 kB]', 'Get:27 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse Translation-en [112 kB]', 'Get:28 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 DEP-11 Metadata [42.1 kB]', 'Get:29 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 48x48 Icons [42.7 kB]', 'Get:30 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 64x64 Icons [193 kB]', 'Get:31 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 64x64@2 Icons [214 B]', 'Get:32 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 c-n-f Metadata [8,372 B]', 'Get:33 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages [340 kB]', 'Get:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages [151 kB]', 'Ign:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages', 'Get:35 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main Translation-en [85.7 kB]', 'Get:36 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 DEP-11 Metadata [90.9 kB]', 'Get:37 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 48x48 Icons [26.2 kB]', 'Get:38 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 64x64 Icons [38.2 kB]', 'Get:39 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 64x64@2 Icons [29 B]', 'Get:40 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 c-n-f Metadata [6,172 B]', 'Get:41 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [215 kB]', 'Get:42 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted i386 Packages [22.1 kB]', 'Get:43 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted Translation-en [32.8 kB]', 'Get:44 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [536 B]', 'Get:45 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe i386 Packages [70.1 kB]', 'Get:46 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 Packages [141 kB]', 'Get:47 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe Translation-en [50.8 kB]', 'Get:48 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [95.0 kB]', 'Get:49 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 48x48 Icons [38.0 kB]', 'Get:50 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 64x64 Icons [50.5 kB]', 'Get:51 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 64x64@2 Icons [29 B]', 'Get:52 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 c-n-f Metadata [2,960 B]', 'Get:53 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 Packages [7,032 B]', 'Get:54 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse i386 Packages [1,460 B]', 'Get:55 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse Translation-en [2,112 B]', 'Get:56 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]', 'Get:57 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1,867 B]', 'Get:58 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2,497 B]', 'Get:59 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 64x64@2 Icons [29 B]', 'Get:60 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [420 B]', 'Get:61 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/main amd64 c-n-f Metadata [112 B]', 'Get:62 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]', 'Get:63 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 Packages [5,404 B]', 'Get:64 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe i386 Packages [3,840 B]', 'Get:65 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe Translation-en [8,160 B]', 'Get:66 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [12.5 kB]', 'Get:67 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 48x48 Icons [2,686 B]', 'Get:68 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 64x64 Icons [7,651 B]', 'Get:69 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 64x64@2 Icons [29 B]', 'Get:70 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 c-n-f Metadata [236 B]', 'Get:71 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]', 'Get:72 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main i386 Packages [68.4 kB]', 'Get:73 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 Packages [197 kB]', 'Get:74 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main Translation-en [48.8 kB]', 'Get:75 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 DEP-11 Metadata [11.4 kB]', 'Get:76 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 48x48 Icons [5,952 B]', 'Get:77 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 64x64 Icons [8,219 B]', 'Get:78 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 64x64@2 Icons [29 B]', 'Get:79 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 c-n-f Metadata [3,336 B]', 'Get:80 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted amd64 Packages [177 kB]', 'Get:81 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted i386 Packages [21.8 kB]', 'Get:82 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted Translation-en [26.2 kB]', 'Get:83 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted amd64 c-n-f Metadata [512 B]', 'Get:84 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 Packages [79.6 kB]', 'Get:85 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe i386 Packages [36.2 kB]', 'Get:86 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe Translation-en [28.4 kB]', 'Get:87 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 DEP-11 Metadata [608 B]', 'Get:88 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 48x48 Icons [29 B]', 'Get:89 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 64x64 Icons [29 B]', 'Get:90 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 64x64@2 Icons [29 B]', 'Get:91 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 c-n-f Metadata [1,700 B]', 'Get:92 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse i386 Packages [1,032 B]', 'Get:93 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse amd64 Packages [4,192 B]', 'Get:94 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse Translation-en [900 B]', 'Get:95 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [228 B]', 'Get:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages [151 kB]', 'Fetched 49.5 MB in 7min 3s (117 kB/s)', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "3 packages can be upgraded. Run 'apt list --upgradable' to see them."]
镜像修复完成.....
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable' to see them.Run CMD Task:[sudo apt-cache search curl ]
[-]Result:success s for HTTPer dock appIolsceic typesmentation)slyt source code3 moree-system-lib-on-osx"Run CMD Task:[sudo apt install curl -y]
[-]Result:success e and 3 not upgraded.Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success eplacement (dummy transitional package)Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success ...2.1_all.deb ...stalled.) gnupg2 all 2.2.27-3ubuntu2.1 [5,548 B]Run 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/ros2/ubuntu/']
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable' to see them.64 Packages [643 kB]恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success tends 'ros_core' and includes other basic functionalities like tf2 and urdf.RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:humble(ROS2)
[2]:rolling(ROS2)
[0]:quit
请输入[]内的数字以选择:1
RUN Choose Task:[请输入括号内的数字]
请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
[1]:humble(ROS2)桌面版
[2]:humble(ROS2)基础版(小)
[0]:quit
请输入[]内的数字以选择:1
Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success end for Debian/Ubuntu (development files)sionRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success e and 3 not upgraded.Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success end for Debian/Ubuntu (development files)sionRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success e and 3 not upgraded.Run CMD Task:[sudo apt install ros-humble-desktop -y]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed
Depends: libsystemd0 but it is not installable
bsdutils : PreDepends: libsystemd0 but it is not installable
dconf-gsettings-backend : Depends: dconf-service (< 0.40.0-3.1~)
Depends: dconf-service (>= 0.40.0-3)
init : PreDepends: systemd-sysv
libcolord2 : Depends: libudev1 (>= 196) but it is not installable
libdbus-1-3 : Depends: libsystemd0 but it is not installable
Recommends: dbus
libhwloc15 : Depends: libudev1 (>= 183) but it is not installable
libignition-cmake2-dev : Depends: cmake
libopenmpi-dev : Depends: openmpi-bin (>= 3.0.0-1)
Recommends: libcoarrays-openmpi-dev but it is not going to be installed
libopenni2-0 : Depends: libudev1 (>= 183) but it is not installable
libpulse0 : Depends: libsystemd0 but it is not installable
libqt5designer5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not installable
libqt5designercomponents5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not installable
libqt5help5 : Depends: libqt5gui5 (>= 5.0.2) but it is not installable or
libqt5gui5-gles (>= 5.0.2) but it is not installable
libqt5printsupport5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not installable
libqt5quickshapes5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not installable
Depends: libqt5quick5 (>= 5.14.1) but it is not installable or
libqt5quick5-gles (>= 5.14.1) but it is not installable
libqt5quicktest5 : Depends: libqt5gui5 (>= 5.12.2) but it is not installable or
libqt5gui5-gles (>= 5.12.2) but it is not installable
Depends: libqt5quick5 (>= 5.0.2) but it is not installable or
libqt5quick5-gles (>= 5.0.2) but it is not installable
libqt5quickwidgets5 : Depends: libqt5gui5 (>= 5.10.0) but it is not installable or
libqt5gui5-gles (>= 5.10.0) but it is not installable
Depends: libqt5quick5 (>= 5.15.1) but it is not installable or
libqt5quick5-gles (>= 5.15.1) but it is not installable
libqt5svg5 : Depends: libqt5gui5 (>= 5.15.3+dfsg~) but it is not installable or
libqt5gui5-gles (>= 5.15.3+dfsg~) but it is not installable
libqt5webkit5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or
libqt5gui5-gles (>= 5.14.1) but it is not installable
Depends: libqt5quick5 (>= 5.15.3+dfsg~) but it is not installable or
libqt5quick5-gles (>= 5.15.3+dfsg~) but it is not installable
libqt5widgets5 : Depends: libqt5gui5 (>= 5.15.1) but it is not installable or
libqt5gui5-gles (>= 5.15.1) but it is not installable
libudev-dev : Depends: libudev1 (= 249.11-0ubuntu3) but it is not installable
libusb-1.0-0 : Depends: libudev1 (>= 183) but it is not installable
libvtk9-qt-dev : Depends: libqt5opengl5-dev but it is not installable
libvtk9.1-qt : Depends: libqt5gui5 (>= 5.11.0~rc1) but it is not installable or
libqt5gui5-gles (>= 5.11.0~rc1) but it is not installable
mpi-default-bin : Depends: openmpi-bin
python3-pyqt5 : Depends: libqt5gui5 (>= 5.1.0) but it is not installable
Depends: libqt5gui5 (>= 5.15.1) but it is not installable or
libqt5gui5-gles (>= 5.15.1) but it is not installable
python3-pyqt5.qtsvg : Depends: libqt5gui5 (>= 5.0.2) but it is not installable or
libqt5gui5-gles (>= 5.0.2) but it is not installable
python3-pyside2.qtgui : Depends: libqt5gui5 (>= 5.15) but it is not installable
Depends: libqt5gui5 (>= 5.15.1) but it is not installable or
libqt5gui5-gles (>= 5.15.1) but it is not installable -
@阿来呀 关键信息还在下面
-
@小鱼 这个错误应该被捕获,然后一键安装会提出解决方案
-
@小鱼 ltl@ltl-pc:~$ wget http://fishros.com/install -O fishros && . fishros --2022-07-07 09:48:20-- http://fishros.com/install Resolving fishros.com (fishros.com)... 139.9.131.171 Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://fishros.com/install/ [following] --2022-07-07 09:48:21-- http://fishros.com/install/ Reusing existing connection to fishros.com:80. HTTP request sent, awaiting response... 200 OK Length: 543 [application/octet-stream] Saving to: ‘fishros’ fishros 100%[==============================================================================================>] 543 --.-KB/s in 0s 2022-07-07 09:48:21 (67.6 MB/s) - ‘fishros’ saved [543/543] Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-distro is already the newest version (1.7.0-1). python3-yaml is already the newest version (5.4.1-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. --2022-07-07 09:48:21-- http://fishros.com/install/install1s/tools/base.py Resolving fishros.com (fishros.com)... 139.9.131.171 Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 41998 (41K) [application/octet-stream] Saving to: ‘/tmp/fishinstall/tools/base.py’ /tmp/fishinstall/tools/base.py 100%[==============================================================================================>] 41.01K --.-KB/s in 0.1s 2022-07-07 09:48:21 (392 KB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [41998/41998] Run CMD Task:[dpkg --print-architecture] [-]Result:success 基础检查通过... =============================================================================== ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!======= ======一键安装已开源,请放心使用:https://github.com/fishros/install======= =============================================================================== .-~~~~~~~~~-._ _.-~~~~~~~~~-. __.' ~. .~ `.__ .'// 开卷有益 \./ 书山有路 \ `. .'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \ `. .'// .-~"~~~~-._ | _,-~~~~"~-. \`. .'//.-" `-. | .-' "-.\`. .'//______.============-.. \ | / ..-============.______\`. .'______________________________\|/______________________________` ---------------------------------------------------------------------- RUN Choose Task:[请输入括号内的数字] ---众多工具,等君来用--- [1]:一键安装:ROS(支持ROS和ROS2,树莓派Jetson) [11]:一键安装:ROS+Docker(支持所有版本ROS/ROS2) [2]:一键安装:github桌面版(小鱼常用的github客户端) [3]:一键配置:rosdep(小鱼的rosdepc,又快又好用) [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择) [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统) [6]:一键安装:nodejs [7]:一键安装:VsCode开发工具 [8]:一键安装:Docker [9]:一键安装:Cartographer(内测版v0.1) [10]:一键安装:微信(可以在Linux上使用的微信) [77]:测试模式:运行自定义工具测试 [0]:quit 请输入[]内的数字以选择:1 --2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_install_ros.py Resolving fishros.com (fishros.com)... 139.9.131.171 Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 17766 (17K) [application/octet-stream] Saving to: ‘/tmp/fishinstall/tools/tool_install_ros.py’ /tmp/fishinstall/to 100%[===================>] 17.35K --.-KB/s in 0.06s 2022-07-07 09:48:45 (292 KB/s) - ‘/tmp/fishinstall/tools/tool_install_ros.py’ saved [17766/17766] --2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_config_rosenv.py Resolving fishros.com (fishros.com)... 139.9.131.171 Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2457 (2.4K) [application/octet-stream] Saving to: ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ /tmp/fishinstall/to 100%[===================>] 2.40K --.-KB/s in 0s 2022-07-07 09:48:45 (410 MB/s) - ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ saved [2457/2457] --2022-07-07 09:48:45-- http://fishros.com/install/install1s/tools/tool_config_system_source.py Resolving fishros.com (fishros.com)... 139.9.131.171 Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7511 (7.3K) [application/octet-stream] Saving to: ‘/tmp/fishinstall/tools/tool_config_system_source.py’ /tmp/fishinstall/to 100%[===================>] 7.33K --.-KB/s in 0s 2022-07-07 09:48:45 (183 MB/s) - ‘/tmp/fishinstall/tools/tool_config_system_source.py’ saved [7511/7511] 欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供 欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献.. 小鱼:检测当前系统ubuntu22.04:jammy 支持一键安装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:jammy],正在为你更换对应源.. 替换完成,尝试第一次更新.... Run CMD Task:[sudo apt update] [/]Get:8 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 DEP-11 Metadata [42[\]Get:9 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 48x48 Icons [100.0[|]Get:10 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64 Icons [148 [-]Get:11 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64@2 Icons [15[/]Get:12 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 c-n-f Metadata [30[\]Get:13 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 Packages [12[|]Get:14 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted i386 Packages [30.[-]Get:15 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted Translation-en [18[/]Get:16 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 c-n-f Metada[\]Get:17 https://mirrors.ustc.edu.cn/ubuntu jammy/universe i386 Packages [7,474 kB] [|]Get:18 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages [14.1 MB] [-]Result:success --upgradable' to see them.ckages [151 kB]adata [228 B]]] 搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~ ['Get:1 https://mirrors.ustc.edu.cn/ubuntu jammy InRelease [270 kB]', 'Get:2 https://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease [114 kB]', 'Get:3 https://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease [99.8 kB]', 'Get:4 https://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease [110 kB]', 'Get:5 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 Packages [1,395 kB]', 'Get:6 https://mirrors.ustc.edu.cn/ubuntu jammy/main i386 Packages [1,040 kB]', 'Get:7 https://mirrors.ustc.edu.cn/ubuntu jammy/main Translation-en [510 kB]', 'Get:8 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 DEP-11 Metadata [423 kB]', 'Get:9 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 48x48 Icons [100.0 kB]', 'Get:10 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64 Icons [148 kB]', 'Get:11 https://mirrors.ustc.edu.cn/ubuntu jammy/main DEP-11 64x64@2 Icons [15.8 kB]', 'Get:12 https://mirrors.ustc.edu.cn/ubuntu jammy/main amd64 c-n-f Metadata [30.3 kB]', 'Get:13 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 Packages [129 kB]', 'Get:14 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted i386 Packages [30.4 kB]', 'Get:15 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted Translation-en [18.6 kB]', 'Get:16 https://mirrors.ustc.edu.cn/ubuntu jammy/restricted amd64 c-n-f Metadata [488 B]', 'Get:17 https://mirrors.ustc.edu.cn/ubuntu jammy/universe i386 Packages [7,474 kB]', 'Get:18 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 Packages [14.1 MB]', 'Get:19 https://mirrors.ustc.edu.cn/ubuntu jammy/universe Translation-en [5,652 kB]', 'Get:20 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 DEP-11 Metadata [3,559 kB]', 'Get:21 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 48x48 Icons [3,447 kB]', 'Get:22 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 64x64 Icons [7,609 kB]', 'Get:23 https://mirrors.ustc.edu.cn/ubuntu jammy/universe DEP-11 64x64@2 Icons [69.3 kB]', 'Get:24 https://mirrors.ustc.edu.cn/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB]', 'Get:25 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse i386 Packages [112 kB]', 'Get:26 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 Packages [217 kB]', 'Get:27 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse Translation-en [112 kB]', 'Get:28 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 DEP-11 Metadata [42.1 kB]', 'Get:29 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 48x48 Icons [42.7 kB]', 'Get:30 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 64x64 Icons [193 kB]', 'Get:31 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse DEP-11 64x64@2 Icons [214 B]', 'Get:32 https://mirrors.ustc.edu.cn/ubuntu jammy/multiverse amd64 c-n-f Metadata [8,372 B]', 'Get:33 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 Packages [340 kB]', 'Get:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages [151 kB]', 'Ign:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages', 'Get:35 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main Translation-en [85.7 kB]', 'Get:36 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 DEP-11 Metadata [90.9 kB]', 'Get:37 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 48x48 Icons [26.2 kB]', 'Get:38 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 64x64 Icons [38.2 kB]', 'Get:39 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main DEP-11 64x64@2 Icons [29 B]', 'Get:40 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main amd64 c-n-f Metadata [6,172 B]', 'Get:41 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [215 kB]', 'Get:42 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted i386 Packages [22.1 kB]', 'Get:43 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted Translation-en [32.8 kB]', 'Get:44 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [536 B]', 'Get:45 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe i386 Packages [70.1 kB]', 'Get:46 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 Packages [141 kB]', 'Get:47 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe Translation-en [50.8 kB]', 'Get:48 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [95.0 kB]', 'Get:49 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 48x48 Icons [38.0 kB]', 'Get:50 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 64x64 Icons [50.5 kB]', 'Get:51 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe DEP-11 64x64@2 Icons [29 B]', 'Get:52 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/universe amd64 c-n-f Metadata [2,960 B]', 'Get:53 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 Packages [7,032 B]', 'Get:54 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse i386 Packages [1,460 B]', 'Get:55 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse Translation-en [2,112 B]', 'Get:56 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]', 'Get:57 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 48x48 Icons [1,867 B]', 'Get:58 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 64x64 Icons [2,497 B]', 'Get:59 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse DEP-11 64x64@2 Icons [29 B]', 'Get:60 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [420 B]', 'Get:61 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/main amd64 c-n-f Metadata [112 B]', 'Get:62 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B]', 'Get:63 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 Packages [5,404 B]', 'Get:64 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe i386 Packages [3,840 B]', 'Get:65 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe Translation-en [8,160 B]', 'Get:66 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [12.5 kB]', 'Get:67 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 48x48 Icons [2,686 B]', 'Get:68 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 64x64 Icons [7,651 B]', 'Get:69 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe DEP-11 64x64@2 Icons [29 B]', 'Get:70 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/universe amd64 c-n-f Metadata [236 B]', 'Get:71 https://mirrors.ustc.edu.cn/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B]', 'Get:72 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main i386 Packages [68.4 kB]', 'Get:73 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 Packages [197 kB]', 'Get:74 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main Translation-en [48.8 kB]', 'Get:75 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 DEP-11 Metadata [11.4 kB]', 'Get:76 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 48x48 Icons [5,952 B]', 'Get:77 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 64x64 Icons [8,219 B]', 'Get:78 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main DEP-11 64x64@2 Icons [29 B]', 'Get:79 https://mirrors.ustc.edu.cn/ubuntu jammy-security/main amd64 c-n-f Metadata [3,336 B]', 'Get:80 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted amd64 Packages [177 kB]', 'Get:81 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted i386 Packages [21.8 kB]', 'Get:82 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted Translation-en [26.2 kB]', 'Get:83 https://mirrors.ustc.edu.cn/ubuntu jammy-security/restricted amd64 c-n-f Metadata [512 B]', 'Get:84 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 Packages [79.6 kB]', 'Get:85 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe i386 Packages [36.2 kB]', 'Get:86 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe Translation-en [28.4 kB]', 'Get:87 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 DEP-11 Metadata [608 B]', 'Get:88 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 48x48 Icons [29 B]', 'Get:89 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 64x64 Icons [29 B]', 'Get:90 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe DEP-11 64x64@2 Icons [29 B]', 'Get:91 https://mirrors.ustc.edu.cn/ubuntu jammy-security/universe amd64 c-n-f Metadata [1,700 B]', 'Get:92 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse i386 Packages [1,032 B]', 'Get:93 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse amd64 Packages [4,192 B]', 'Get:94 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse Translation-en [900 B]', 'Get:95 https://mirrors.ustc.edu.cn/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [228 B]', 'Get:34 https://mirrors.ustc.edu.cn/ubuntu jammy-updates/main i386 Packages [151 kB]', 'Fetched 49.5 MB in 7min 3s (117 kB/s)', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "3 packages can be upgraded. Run 'apt list --upgradable' to see them."] 镜像修复完成..... Run CMD Task:[sudo apt update] [-]Result:success --upgradable' to see them. Run CMD Task:[sudo apt-cache search curl ] [-]Result:success s for HTTPer dock appIolsceic typesmentation)slyt source code3 moree-system-lib-on-osx" Run CMD Task:[sudo apt install curl -y] [-]Result:success e and 3 not upgraded. Run CMD Task:[sudo apt-cache search gnupg2 ] [-]Result:success eplacement (dummy transitional package) Run CMD Task:[sudo apt install gnupg2 -y] [-]Result:success ...2.1_all.deb ...stalled.) gnupg2 all 2.2.27-3ubuntu2.1 [5,548 B] 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/ros2/ubuntu/'] Run CMD Task:[sudo apt update] [-]Result:success --upgradable' to see them.64 Packages [643 kB] 恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装! Run CMD Task:[sudo apt-cache search ros-base ] [-]Result:success tends 'ros_core' and includes other basic functionalities like tf2 and urdf. RUN Choose Task:[请输入括号内的数字] 请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别): [1]:humble(ROS2) [2]:rolling(ROS2) [0]:quit 请输入[]内的数字以选择:1 RUN Choose Task:[请输入括号内的数字] 请选择安装的具体版本(如果不知道怎么选,请选1桌面版): [1]:humble(ROS2)桌面版 [2]:humble(ROS2)基础版(小) [0]:quit 请输入[]内的数字以选择:1 Run CMD Task:[sudo apt-cache search aptitude ] [-]Result:success end for Debian/Ubuntu (development files)sion Run CMD Task:[sudo apt install aptitude -y] [-]Result:success e and 3 not upgraded. Run CMD Task:[sudo apt-cache search aptitude ] [-]Result:success end for Debian/Ubuntu (development files)sion Run CMD Task:[sudo apt install aptitude -y] [-]Result:success e and 3 not upgraded. Run CMD Task:[sudo apt install ros-humble-desktop -y] Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed Depends: libsystemd0 but it is not installable bsdutils : PreDepends: libsystemd0 but it is not installable dconf-gsettings-backend : Depends: dconf-service (< 0.40.0-3.1~) Depends: dconf-service (>= 0.40.0-3) init : PreDepends: systemd-sysv libcolord2 : Depends: libudev1 (>= 196) but it is not installable libdbus-1-3 : Depends: libsystemd0 but it is not installable Recommends: dbus libhwloc15 : Depends: libudev1 (>= 183) but it is not installable libignition-cmake2-dev : Depends: cmake libopenmpi-dev : Depends: openmpi-bin (>= 3.0.0-1) Recommends: libcoarrays-openmpi-dev but it is not going to be installed libopenni2-0 : Depends: libudev1 (>= 183) but it is not installable libpulse0 : Depends: libsystemd0 but it is not installable libqt5designer5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or libqt5gui5-gles (>= 5.14.1) but it is not installable libqt5designercomponents5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or libqt5gui5-gles (>= 5.14.1) but it is not installable libqt5help5 : Depends: libqt5gui5 (>= 5.0.2) but it is not installable or libqt5gui5-gles (>= 5.0.2) but it is not installable libqt5printsupport5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or libqt5gui5-gles (>= 5.14.1) but it is not installable libqt5quickshapes5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or libqt5gui5-gles (>= 5.14.1) but it is not installable Depends: libqt5quick5 (>= 5.14.1) but it is not installable or libqt5quick5-gles (>= 5.14.1) but it is not installable libqt5quicktest5 : Depends: libqt5gui5 (>= 5.12.2) but it is not installable or libqt5gui5-gles (>= 5.12.2) but it is not installable Depends: libqt5quick5 (>= 5.0.2) but it is not installable or libqt5quick5-gles (>= 5.0.2) but it is not installable libqt5quickwidgets5 : Depends: libqt5gui5 (>= 5.10.0) but it is not installable or libqt5gui5-gles (>= 5.10.0) but it is not installable Depends: libqt5quick5 (>= 5.15.1) but it is not installable or libqt5quick5-gles (>= 5.15.1) but it is not installable libqt5svg5 : Depends: libqt5gui5 (>= 5.15.3+dfsg~) but it is not installable or libqt5gui5-gles (>= 5.15.3+dfsg~) but it is not installable libqt5webkit5 : Depends: libqt5gui5 (>= 5.14.1) but it is not installable or libqt5gui5-gles (>= 5.14.1) but it is not installable Depends: libqt5quick5 (>= 5.15.3+dfsg~) but it is not installable or libqt5quick5-gles (>= 5.15.3+dfsg~) but it is not installable libqt5widgets5 : Depends: libqt5gui5 (>= 5.15.1) but it is not installable or libqt5gui5-gles (>= 5.15.1) but it is not installable libudev-dev : Depends: libudev1 (= 249.11-0ubuntu3) but it is not installable libusb-1.0-0 : Depends: libudev1 (>= 183) but it is not installable libvtk9-qt-dev : Depends: libqt5opengl5-dev but it is not installable libvtk9.1-qt : Depends: libqt5gui5 (>= 5.11.0~rc1) but it is not installable or libqt5gui5-gles (>= 5.11.0~rc1) but it is not installable mpi-default-bin : Depends: openmpi-bin python3-pyqt5 : Depends: libqt5gui5 (>= 5.1.0) but it is not installable Depends: libqt5gui5 (>= 5.15.1) but it is not installable or libqt5gui5-gles (>= 5.15.1) but it is not installable python3-pyqt5.qtsvg : Depends: libqt5gui5 (>= 5.0.2) but it is not installable or libqt5gui5-gles (>= 5.0.2) but it is not installable python3-pyside2.qtgui : Depends: libqt5gui5 (>= 5.15) but it is not installable Depends: libqt5gui5 (>= 5.15.1) but it is not installable or libqt5gui5-gles (>= 5.15.1) but it is not installable
-
@阿来呀 在 一键安装ros2显示没有找到包:python3-argcomplete 中说:
libqt5gui5-gles (>= 5.0.2) but it is not installable
python3-pyside2.qtgui : Depends: libqt5gui5 (>= 5.15) but it is not installable
Depends: libqt5gui5 (>= 5.15.1) but it is not installable or
libqt5gui5-gles (>= 5.15.1) but it is not installable这个下面的东西嘞,按理说这后面应该会暂停检测错误的,你有看到 吗
-
@小鱼 刚刚重新试一下,前面一直没报错,但是最后还是显示不成功,我还是重新装一下Ubuntu22.04,然后再试一下一键安装
-
@阿来呀 这个错误我遇到过很多次了,一键安装也是能自动解决的,你这个关键日志一直贴不上,我也没办法帮你看,那你重装下吧。
-
@小鱼 嗯嗯,谢谢,我重装试试看一下
-
@小鱼 小鱼,我刚刚重装Ubuntu再下还是有问题,我把日志给你看看