小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装ros1失败了
-
wty@ubuntu:~$ sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/
lsb_release -cs
main" > /etc/apt/sources.list.d/ros-latest.list'
[sudo] password for wty:
wty@ubuntu:~$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Executing: /tmp/apt-key-gpghome.bAMeHeO2ET/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics info@osrfoundation.org" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
wty@ubuntu:~$ sudo apt update
Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
362 packages can be upgraded. Run 'apt list --upgradable' to see them.
wty@ubuntu:~$ sudo apt install ros-melodic-desktop-full
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
wty@ubuntu:~$ sudo apt-get update
Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Ign:5 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic InRelease
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release
Reading package lists... Done
wty@ubuntu:~$ wget http://fishros.com/install -O fishros && . fishros
--2022-05-16 18:30:41-- 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-05-16 18:30:41-- http://fishros.com/install/
Reusing existing connection to fishros.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 336 [application/octet-stream]
Saving to: ‘fishros’fishros 100%[==================>] 336 --.-KB/s in 0s
2022-05-16 18:30:41 (42.9 MB/s) - ‘fishros’ saved [336/336]
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
--2022-05-16 18:30:41-- 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: 36752 (36K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/base.py’/tmp/fishinstall/to 100%[==================>] 35.89K --.-KB/s in 0.01s
2022-05-16 18:30:42 (2.56 MB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [36752/36752]
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]:一键安装:nodejs
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[9]:一键安装:Cartographer(内测版v0.1)
[10]:一键安装:微信(可以在Linux上使用的微信)
[77]:测试模式:运行自定义工具测试
[0]:quit
请输入[]内的数字以选择:1
--2022-05-16 18:31:08-- 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: 12001 (12K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_ros.py’/tmp/fishinstall/to 100%[==================>] 11.72K --.-KB/s in 0s
2022-05-16 18:31:08 (37.4 MB/s) - ‘/tmp/fishinstall/tools/tool_install_ros.py’ saved [12001/12001]
--2022-05-16 18:31:08-- 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: 2307 (2.3K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_rosenv.py’/tmp/fishinstall/to 100%[==================>] 2.25K --.-KB/s in 0s
2022-05-16 18:31:08 (237 MB/s) - ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ saved [2307/2307]
--2022-05-16 18:31:08-- 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: 9161 (8.9K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_system_source.py’/tmp/fishinstall/to 100%[==================>] 8.95K --.-KB/s in 0s
2022-05-16 18:31:08 (43.0 MB/s) - ‘/tmp/fishinstall/tools/tool_config_system_source.py’ saved [9161/9161]
欢迎使用一键安装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:[dpkg --print-architecture]
[-]Result:success检测到当前系统架构为[amd64],正在为你更换对应源..
替换完成,尝试第一次更新....
Run CMD Task:[sudo apt update]
[-]Get:3 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease [74.6 kB[]Get:5 https://mirrors.ustc.edu.cn/ubuntu bionic/main i386 Packages [1,007 kB[|]Get:6 https://mirrors.ustc.edu.cn/ubuntu bionic/main amd64 Packages [1,019 k[/]Get:8 https://mirrors.ustc.edu.cn/ubuntu bionic/main amd64 DEP-11 Metadata [[]Get:9 https://mirrors.ustc.edu.cn/ubuntu bionic/main DEP-11 48x48 Icons [118[|]Get:10 https://mirrors.ustc.edu.cn/ubuntu bionic/main DEP-11 64x64 Icons [24[-]Get:11 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted amd64 Packages [[/]Get:12 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted i386 Packages [9[]Get:13 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted Translation-en [[|]Get:14 https://mirrors.ustc.edu.cn/ubuntu bionic/universe amd64 Packages [8,[-]Get:15 https://mirrors.ustc.edu.cn/ubuntu bionic/universe i386 Packages [8,5[/]Get:16 https://mirrors.ustc.edu.cn/ubuntu bionic/universe Translation-en [4,[]Get:17 https://mirrors.ustc.edu.cn/ubuntu bionic/universe amd64 DEP-11 Metad[|]Get:18 https://mirrors.ustc.edu.cn/ubuntu bionic/universe DEP-11 48x48 Icons[-]Get:19 https://mirrors.ustc.edu.cn/ubuntu bionic/universe DEP-11 64x64 Icons[/]Get:20 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse i386 Packages [1[]Get:21 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse amd64 Packages [[|]Get:22 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse Translation-en [[-]Get:23 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse amd64 DEP-11 Met[/]Get:24 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse DEP-11 48x48 Ico[]Get:25 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse DEP-11 64x64 Ico[|]Get:26 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main i386 Packages [-]Get:27 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main amd64 Packages[/]Get:28 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main Translation-en[]Get:29 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main amd64 DEP-11 M[|]Get:30 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main DEP-11 48x48 I[-]Get:31 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main DEP-11 64x64 I[/]Get:32 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted amd64 Pa[]Get:33 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted i386 Pac[|]Get:34 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted Translat[-]Get:35 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe amd64 Pack[/]Get:36 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe i386 Packa[]Get:37 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe Translatio[|]Get:38 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe amd64 DEP-[-]Get:39 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe DEP-11 48x[/]Get:40 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe DEP-11 64x[]Get:41 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse i386 Pac[|]Get:42 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse amd64 Pa[-]Get:43 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse Translat[/]Get:44 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse amd64 DE[]Get:45 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse DEP-11 4[|]Get:46 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse DEP-11 6[-]Get:47 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main i386 Package[/]Get:48 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main amd64 Packag[]Get:49 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main Translation-[|]Get:50 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe i386 Pac[-]Get:51 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe amd64 Pa[/]Get:52 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe Translat[]Get:53 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe amd64 DE[|]Get:54 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe DEP-11 4[-]Get:55 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe DEP-11 6[/]Get:56 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main amd64 Package[]Get:57 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main i386 Packages[|]Get:58 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main Translation-e[-]Get:59 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main amd64 DEP-11 [/]Get:60 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main DEP-11 48x48 []Get:61 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main DEP-11 64x64 [|]Get:62 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted amd64 P[-]Get:63 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted i386 Pa[/]Get:64 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted Transla[]Get:65 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe i386 Pack[|]Get:66 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe amd64 Pac[-]Get:67 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe Translati[/]Get:68 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe amd64 DEP[]Get:69 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe DEP-11 48[|]Get:70 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe DEP-11 64[-]Get:71 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse i386 Pa[/]Get:72 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse amd64 P[]Get:73 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse Transla[|]Get:74 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse amd64 D[-]Get:75 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse DEP-11 [/]Get:76 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse DEP-11 [-]Result:success st --upgradable' to see them.搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['Get:1 https://mirrors.ustc.edu.cn/ubuntu bionic InRelease [242 kB]', 'Get:2 https://mirrors.ustc.edu.cn/ubuntu bionic-updates InRelease [88.7 kB]', 'Get:3 https://mirrors.ustc.edu.cn/ubuntu bionic-backports InRelease [74.6 kB]', 'Get:4 https://mirrors.ustc.edu.cn/ubuntu bionic-security InRelease [88.7 kB]', 'Get:5 https://mirrors.ustc.edu.cn/ubuntu bionic/main i386 Packages [1,007 kB]', 'Get:6 https://mirrors.ustc.edu.cn/ubuntu bionic/main amd64 Packages [1,019 kB]', 'Get:7 https://mirrors.ustc.edu.cn/ubuntu bionic/main Translation-en [516 kB]', 'Get:8 https://mirrors.ustc.edu.cn/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]', 'Get:9 https://mirrors.ustc.edu.cn/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]', 'Get:10 https://mirrors.ustc.edu.cn/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]', 'Get:11 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted amd64 Packages [9,184 B]', 'Get:12 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted i386 Packages [9,156 B]', 'Get:13 https://mirrors.ustc.edu.cn/ubuntu bionic/restricted Translation-en [3,584 B]', 'Get:14 https://mirrors.ustc.edu.cn/ubuntu bionic/universe amd64 Packages [8,570 kB]', 'Get:15 https://mirrors.ustc.edu.cn/ubuntu bionic/universe i386 Packages [8,531 kB]', 'Get:16 https://mirrors.ustc.edu.cn/ubuntu bionic/universe Translation-en [4,941 kB]', 'Get:17 https://mirrors.ustc.edu.cn/ubuntu bionic/universe amd64 DEP-11 Metadata [3,287 kB]', 'Get:18 https://mirrors.ustc.edu.cn/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]', 'Get:19 https://mirrors.ustc.edu.cn/ubuntu bionic/universe DEP-11 64x64 Icons [8,420 kB]', 'Get:20 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse i386 Packages [144 kB]', 'Get:21 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse amd64 Packages [151 kB]', 'Get:22 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse Translation-en [108 kB]', 'Get:23 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49.7 kB]', 'Get:24 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]', 'Get:25 https://mirrors.ustc.edu.cn/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]', 'Get:26 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main i386 Packages [1,473 kB]', 'Get:27 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main amd64 Packages [2,569 kB]', 'Get:28 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main Translation-en [480 kB]', 'Get:29 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]', 'Get:30 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main DEP-11 48x48 Icons [83.0 kB]', 'Get:31 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/main DEP-11 64x64 Icons [154 kB]', 'Get:32 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted amd64 Packages [752 kB]', 'Get:33 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted i386 Packages [32.4 kB]', 'Get:34 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/restricted Translation-en [103 kB]', 'Get:35 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe amd64 Packages [1,810 kB]', 'Get:36 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe i386 Packages [1,607 kB]', 'Get:37 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe Translation-en [392 kB]', 'Get:38 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [301 kB]', 'Get:39 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe DEP-11 48x48 Icons [232 kB]', 'Get:40 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/universe DEP-11 64x64 Icons [516 kB]', 'Get:41 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse i386 Packages [11.2 kB]', 'Get:42 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse amd64 Packages [24.8 kB]', 'Get:43 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse Translation-en [6,012 B]', 'Get:44 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]', 'Get:45 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]', 'Get:46 https://mirrors.ustc.edu.cn/ubuntu bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]', 'Get:47 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main i386 Packages [10.8 kB]', 'Get:48 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main amd64 Packages [10.8 kB]', 'Get:49 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/main Translation-en [5,016 B]', 'Get:50 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe i386 Packages [11.6 kB]', 'Get:51 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe amd64 Packages [11.6 kB]', 'Get:52 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe Translation-en [5,864 B]', 'Get:53 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,292 B]', 'Get:54 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe DEP-11 48x48 Icons [2,809 B]', 'Get:55 https://mirrors.ustc.edu.cn/ubuntu bionic-backports/universe DEP-11 64x64 Icons [3,943 B]', 'Get:56 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main amd64 Packages [2,225 kB]', 'Get:57 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main i386 Packages [1,171 kB]', 'Get:58 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main Translation-en [390 kB]', 'Get:59 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main amd64 DEP-11 Metadata [55.2 kB]', 'Get:60 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main DEP-11 48x48 Icons [28.9 kB]', 'Get:61 https://mirrors.ustc.edu.cn/ubuntu bionic-security/main DEP-11 64x64 Icons [65.1 kB]', 'Get:62 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted amd64 Packages [727 kB]', 'Get:63 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted i386 Packages [25.7 kB]', 'Get:64 https://mirrors.ustc.edu.cn/ubuntu bionic-security/restricted Translation-en [99.5 kB]', 'Get:65 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe i386 Packages [1,018 kB]', 'Get:66 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe amd64 Packages [1,198 kB]', 'Get:67 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe Translation-en [276 kB]', 'Get:68 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe amd64 DEP-11 Metadata [59.8 kB]', 'Get:69 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe DEP-11 48x48 Icons [31.3 kB]', 'Get:70 https://mirrors.ustc.edu.cn/ubuntu bionic-security/universe DEP-11 64x64 Icons [147 kB]', 'Get:71 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse i386 Packages [6,012 B]', 'Get:72 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse amd64 Packages [17.6 kB]', 'Get:73 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse Translation-en [3,660 B]', 'Get:74 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]', 'Get:75 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse DEP-11 48x48 Icons [29 B]', 'Get:76 https://mirrors.ustc.edu.cn/ubuntu bionic-security/multiverse DEP-11 64x64 Icons [2,638 B]', 'Fetched 59.0 MB in 21s (2,813 kB/s)', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "362 packages can be upgraded. Run 'apt list --upgradable' to see them.", '']
镜像修复完成.....
Run CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.Run CMD Task:[sudo apt-cache search curl ]
[/]libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavo[/]libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTL[]libcurl4-nss-dev - development files and documentation for libcurl (NSS flav[|]libcurl4-openssl-dev - development files and documentation for libcurl (Open[/]libstrongswan-extra-plugins - strongSwan utility and crypto library (extra p[|]cl-curry-compose-reader-macros - Reader macros for function partial applicat[|]flickcurl-doc - utilities to call the Flickr API from command line - documen[-]gnupg1 - GNU privacy guard - a PGP implementation (deprecated "classic" vers[]golang-github-moul-http2curl-dev - Go package for convert Golang's http.Requ[]kubuntu-wallpapers-bionic - Selection of classic KDE wallpapers for Bionic B[|]libcupt4-2-downloadmethod-curl - flexible package manager -- libcurl downloa[]libcurl-openssl1.0-dev - development files and documentation for libcurl (Op[]libflickcurl-dev - C library for accessing the Flickr API - development file[-]libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbo[]libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentat[|]libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; pro[-]libghc-hxt-doc - collection of tools for processing XML with Haskell; docume[]libghc-hxt-http-doc - Interface to native Haskell HTTP package HTTP; documen[|]libghc-hxt-http-prof - Interface to native Haskell HTTP package HTTP; profil[-]libghc-hxt-prof - collection of tools for processing XML with Haskell; profi[/]libresource-retriever-dev - Robot OS resource_retriever library - developmen[]libwsman-curl-client-transport1 - Open Web Services Manager run-time librari[]mpdcron - add scrobbler, rating, play counts and other functionalities to MP[-]Result:success age - all developer toolsnt filesRun CMD Task:[sudo apt install curl -y]
[-]Result:code:100Run CMD Task:[sudo apt-cache search gnupg2 ]
[|]gnupg2 - GNU privacy guard - a free PGP replacement (dummy transitional pack[-]Result:successRun CMD Task:[sudo apt install gnupg2 -y]
[-]Result:code:100Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:code:2Run 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.N1Eo9YbdNL/gpg.1.sh --keyserver keyserver.ub[-]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/']
Run CMD Task:[sudo mkdir -p /etc/apt/sources.list.d/]
[-]Result:successRun CMD Task:[sudo apt update]
[|]Get:2 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic InRelease [4,68[-]Get:3 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release [3,798 B[/]Get:8 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main amd64 Pack[]Get:9 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic Release.gpg [833[|]Get:10 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic/main amd64 Pack[-]Result:success st --upgradable' to see them.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 plu[|]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other [-]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 othe[-]Result:successRUN 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 ma[-]aptitude-doc-en - English manual for aptitude, a terminal-based package mana[/]libcwidget-dev - high-level terminal interface library for C++ (development [-]apticron-systemd - Simple tool to mail about pending package updates - syste[/]aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manage[]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package mana[|]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package mana[-]aptitude-doc-fr - French manual for aptitude, a terminal-based package manag[/]aptitude-doc-it - Italian manual for aptitude, a terminal-based package mana[]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package man[|]aptitude-doc-nl - Dutch manual for aptitude, a terminal-based package manage[-]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package mana[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain t[-]Result:success end for DebianRun CMD Task:[sudo apt install aptitude -y]
[-]Result:code:100Run CMD Task:[sudo apt-cache search aptitude ]
[|]aptitude-common - architecture independent files for the aptitude package ma[-]aptitude-doc-en - English manual for aptitude, a terminal-based package mana[/]libcwidget-dev - high-level terminal interface library for C++ (development [-]apticron-systemd - Simple tool to mail about pending package updates - syste[/]aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manage[]aptitude-doc-es - Spanish manual for aptitude, a terminal-based package mana[|]aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package mana[-]aptitude-doc-fr - French manual for aptitude, a terminal-based package manag[/]aptitude-doc-it - Italian manual for aptitude, a terminal-based package mana[]aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package man[|]aptitude-doc-nl - Dutch manual for aptitude, a terminal-based package manage[-]aptitude-doc-ru - Russian manual for aptitude, a terminal-based package mana[-]gbrainy - brain teaser game and trainer to have fun and to keep your brain t[-]Result:success end for DebianRun CMD Task:[sudo apt install aptitude -y]
[-]Result:code:100Run CMD Task:[sudo aptitude install ros-melodic-desktop -y]
sudo: aptitude: command not found
Run CMD Task:[sudo aptitude install ros-melodic-desktop -y]
[-]Result:code:1Run 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]
[-]Result:code:100Run CMD Task:[sudo apt-cache search python-rosdep ]
[]python-rosdep2 - rosdep package manager abstraction tool for Robot OS (Pytho[-]Result:success nager abstraction tool for ROSRun CMD Task:[sudo apt install python-rosdep -y]
[-]Result:code:100Run 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群:139707339(入群口令:一键安装)
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈
wty@ubuntu:~$ -
@wangtianyu021 在 一键安装ros1失败了 中说:
dpkg --print-architecture
再运行一次一键安装,还不行用上面这个指令看一下你的系统架构,你这是虚拟机还是实体机,装的是什么镜像还有印象吗?
另外注意格式哦!
@小鱼 在 提问前必看!一定要看!必须看一下! 中说:
- 不要截图,要复制粘贴,一定要代码块包裹
不要截图的原因是,代码方便回答者去复制帮你搜索,而且无论是在手机上还是电脑上都更容易看。
用代码块包裹是为了更加美观,不会一个代码很长一段,不易阅读
- 不要截图,要复制粘贴,一定要代码块包裹
-
@小鱼 我重新试了还是不行 然后我输入您给我的指令显示 amd64
-
@wangtianyu021 你再试试这句话
sudo apt install curl -y
,看看是否可以正常安装