鱼香社区

    • 登录
    • 搜索
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组

    重要提示

    社区建设靠大家,欢迎参与社区建设赞助计划
    提问前必看的发帖注意事项—— 提问的智慧
    社区使用指南—如何添加标签修改密码

    ubuntu18.04一键安装ros+docker有问题

    一键安装
    ·· 一键安装 apt更新失败
    2
    4
    123
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 1
      1564841363 最后由 编辑

      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 7EA0A9C3F273FCD8

      apt更新失败,后续程序可能会继续尝试...,['\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容器取个名字吧!

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

        sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 我已经运行了这个命令

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

          @1564841363 运行完之后还报错吗

          社区建设靠大家,想要更及时详细回答,欢迎参与社区赞助建设计划:https://fishros.org.cn/forum/topic/741

          1 1 条回复 最后回复 回复 引用 0
          • 1
            1564841363 @小鱼 最后由 编辑

            @小鱼 在 ubuntu18.04一键安装ros+docker有问题 中说:

            @1564841363 运行完之后还报错吗
            我之后运行了几次可以了,麻烦了

            1 条回复 最后回复 回复 引用 0
            • First post
              Last post
            皖ICP备16016415号-7
            Powered by NodeBB | 鱼香ROS