ubuntu18.04一键安装ros+docker有问题
-
ubuntu@ubuntu:~$ wget http://fishros.com/install -O fishros && . fishros
--2023-03-11 08:38:09-- 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]
--2023-03-11 08:38:10-- http://fishros.com/install/
Reusing existing connection to fishros.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 582 [application/octet-stream]
Saving to: ‘fishros’fishros 100%[========================================================>] 582 --.-KB/s in 0s
2023-03-11 08:38:10 (47.9 MB/s) - ‘fishros’ saved [582/582]
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-yaml is already the newest version (3.12-1build2).
python3-distro is already the newest version (1.0.1-2).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
--2023-03-11 08:38:11-- 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: 42195 (41K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/base.py’/tmp/fishinstall/tools/base.py 100%[========================================================>] 41.21K --.-KB/s in 0.05s
2023-03-11 08:38:11 (864 KB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [42195/42195]
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上使用的微信)
[12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
[77]:测试模式:运行自定义工具测试
[0]:quit
请输入[]内的数字以选择:11
--2023-03-11 08:38:21-- http://fishros.com/install/install1s/tools/tool_install_ros_with_docker.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: 11540 (11K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_ros_with_docker.py’/tmp/fishinstall/tools/tool_inst 100%[========================================================>] 11.27K --.-KB/s in 0.001s
2023-03-11 08:38:21 (10.4 MB/s) - ‘/tmp/fishinstall/tools/tool_install_ros_with_docker.py’ saved [11540/11540]
--2023-03-11 08:38:21-- http://fishros.com/install/install1s/tools/tool_install_vscode.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: 1366 (1.3K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_vscode.py’/tmp/fishinstall/tools/tool_inst 100%[========================================================>] 1.33K --.-KB/s in 0s
2023-03-11 08:38:21 (101 MB/s) - ‘/tmp/fishinstall/tools/tool_install_vscode.py’ saved [1366/1366]
--2023-03-11 08:38:21-- http://fishros.com/install/install1s/tools/tool_install_docker.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: 2882 (2.8K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_docker.py’/tmp/fishinstall/tools/tool_inst 100%[========================================================>] 2.81K --.-KB/s in 0s
2023-03-11 08:38:21 (279 MB/s) - ‘/tmp/fishinstall/tools/tool_install_docker.py’ saved [2882/2882]
欢迎使用一键安装ROS-Docker版,支持所有版本ROS,本工具由作者小鱼提供
================================1.版本选择======================================
RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:noetic
[2]:humble
[3]:foxy
[4]:galactic
[5]:melodic
[6]:rolling
[7]:kinetic
[8]:eloquent
[9]:dashing
[10]:crystal
[11]:bouncy
[12]:ardent
[13]:lunar
[14]:indigo
[0]:quit
请输入[]内的数字以选择:5
你选择了melodic(ROS1),该版本目前状态:长期支持
================================2.安装Docker======================================
Run CMD Task:[docker version]
[-]Result:code:127欢迎使用一键安装Docker,支持amd64和arm64架构系统,本工具由作者alyssa提供
开始根据系统架构,为你下载对应版本的docker~
Run CMD Task:[sudo apt update]
[-]Result:code:100 ified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', "W: GPG error: https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8\n", "E: The repository 'https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu bionic InRelease' is not signed.\n"]
=================3.下载镜像(该步骤因网络原因会慢一些,若失败请重试)==================
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker: command not found
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker: command not found
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker: command not found
================================4.生成容器======================================
请为你的melodic容器取个名字吧! -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 我已经运行了这个命令
-
@1564841363 运行完之后还报错吗
-
@小鱼 在 ubuntu18.04一键安装ros+docker有问题 中说:
@1564841363 运行完之后还报错吗
我之后运行了几次可以了,麻烦了 -
借楼,我在一键安装ros+docker也出现了类似的问题,终端打印如下:
mhd@mhd-Lenovo-ideapad-320C-15IKB:~$ wget http://fishros.com/install -O fishros && . fishros
--2023-04-11 17:39:58-- http://fishros.com/install
正在解析主机 fishros.com (fishros.com)... 139.9.131.171
正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:http://fishros.com/install/ [跟随至新的 URL]
--2023-04-11 17:39:58-- http://fishros.com/install/
再次使用存在的到 fishros.com:80 的连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 582 [application/octet-stream]
正在保存至: “fishros”fishros 100%[===================>] 582 --.-KB/s 用时 0s
2023-04-11 17:39:58 (24.9 MB/s) - 已保存 “fishros” [582/582])
[sudo] mhd 的密码:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
python3-yaml 已经是最新版 (3.12-1build2)。
python3-distro 已经是最新版 (1.0.1-2)。
下列软件包是自动安装的并且现在不需要了:
fonts-liberation2 fonts-opensymbol gir1.2-gst-plugins-base-1.0
gir1.2-gstreamer-1.0 gir1.2-gudev-1.0 gir1.2-udisks-2.0
grilo-plugins-0.3-base gstreamer1.0-gtk3 libboost-date-time1.65.1
libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1
libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5
libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libedataserverui-1.2-2 libeot0
libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14
libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2
libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common
liblangtag1 liblirc-client0 liblua5.3-0 libmediaart-2.0-0 libmspub-0.1-1
libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0 libsgutils2-2
libssh-4 libsuitesparseconfig5 libvncclient1 libwinpr2-2 libxapian30
libxmlsec1 libxmlsec1-nss lp-solve media-player-info python3-mako
python3-markupsafe syslinux syslinux-common syslinux-legacy
usb-creator-common
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 146 个软件包未被升级。
--2023-04-11 17:40:04-- http://fishros.com/install/install1s/tools/base.py
正在解析主机 fishros.com (fishros.com)... 139.9.131.171
正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 42195 (41K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/base.py”/tmp/fishinstall/to 100%[===================>] 41.21K --.-KB/s 用时 0.06s
2023-04-11 17:40:05 (645 KB/s) - 已保存 “/tmp/fishinstall/tools/base.py” [42195/42195])
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上使用的微信)
[12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
[77]:测试模式:运行自定义工具测试
[0]:quit
请输入[]内的数字以选择:11
--2023-04-11 17:40:12-- http://fishros.com/install/install1s/tools/tool_install_ros_with_docker.py
正在解析主机 fishros.com (fishros.com)... 139.9.131.171
正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 11540 (11K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_install_ros_with_docker.py”/tmp/fishinstall/to 100%[===================>] 11.27K --.-KB/s 用时 0.001s
2023-04-11 17:40:12 (17.3 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_ros_with_docker.py” [11540/11540])
--2023-04-11 17:40:12-- http://fishros.com/install/install1s/tools/tool_install_vscode.py
正在解析主机 fishros.com (fishros.com)... 139.9.131.171
正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 1366 (1.3K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_install_vscode.py”/tmp/fishinstall/to 100%[===================>] 1.33K --.-KB/s 用时 0s
2023-04-11 17:40:12 (50.2 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_vscode.py” [1366/1366])
--2023-04-11 17:40:12-- http://fishros.com/install/install1s/tools/tool_install_docker.py
正在解析主机 fishros.com (fishros.com)... 139.9.131.171
正在连接 fishros.com (fishros.com)|139.9.131.171|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 2882 (2.8K) [application/octet-stream]
正在保存至: “/tmp/fishinstall/tools/tool_install_docker.py”/tmp/fishinstall/to 100%[===================>] 2.81K --.-KB/s 用时 0s
2023-04-11 17:40:12 (147 MB/s) - 已保存 “/tmp/fishinstall/tools/tool_install_docker.py” [2882/2882])
欢迎使用一键安装ROS-Docker版,支持所有版本ROS,本工具由作者小鱼提供
================================1.版本选择======================================
RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:noetic
[2]:humble
[3]:foxy
[4]:galactic
[5]:melodic
[6]:rolling
[7]:kinetic
[8]:eloquent
[9]:dashing
[10]:crystal
[11]:bouncy
[12]:ardent
[13]:lunar
[14]:indigo
[0]:quit
请输入[]内的数字以选择:5
你选择了melodic(ROS1),该版本目前状态:长期支持
================================2.安装Docker======================================
Run CMD Task:[docker version]
[-]Result:code:127欢迎使用一键安装Docker,支持amd64和arm64架构系统,本工具由作者alyssa提供
开始根据系统架构,为你下载对应版本的docker~
Run CMD Task:[sudo apt update]
[/]获取:7 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 k[-]Result:code:100 /code stable InReleaseapt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: 仓库 “http://ppa.launchpad.net/tualatrix/ppa/ubuntu bionic Release” 没有 Release 文件。\n']
=================3.下载镜像(该步骤因网络原因会慢一些,若失败请重试)==================
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker:找不到命令
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker:找不到命令
Run CMD Task:[sudo docker pull fishros2/ros:melodic-desktop-full ]
sudo: docker:找不到命令
================================4.生成容器======================================
请为你的melodic容器取个名字吧!请问怎么解决?
-
请问下载镜像时很满(几乎下不动)是什么原因?
-
@1564841363 为什么我运行了这个命令
Executing: /tmp/apt-key-gpghome.vECC4Aaess/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8
gpg: key 8D81803C0EBFCD88: 1 duplicate signature removed
gpg: 密钥 8D81803C0EBFCD88:“Docker Release (CE deb) docker@docker.com”未改变
gpg: 合计被处理的数量:1
gpg: 未改变:1