鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    ROS安装失败,导入密钥失败

    已定时 已固定 已锁定 已移动
    一键安装
    ros1 一键安装 ros noetic 报错问题
    1
    1
    160
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      aaaaachhh
      最后由 编辑

      ---众多工具,等君来用---
      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)
      [15]:一键安装:QQ for Linux

      配置工具:
      [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
      [13]:一键配置:python国内源
      [17]:一键配置: Docker代理(支持VPN+代理服务两种模式)

      请输入[]内的数字以选择:1
      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_install_ros.py -O /tmp/fishinstall/tools/tool_install_ros.py --no-check-certificate]
      [-][0.18s] CMD Result:success

      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_rosenv.py -O /tmp/fishinstall/tools/tool_config_rosenv.py --no-check-certificate]
      [-][0.12s] CMD Result:success

      Run CMD Task:[wget http://mirror.fishros.com/install/tools/tool_config_system_source.py -O /tmp/fishinstall/tools/tool_config_system_source.py --no-check-certificate]
      [-][0.14s] CMD Result:success

      欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
      欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
      小鱼:检测当前系统ubuntu20.04:focal 支持一键安装ROS
      =========接下来这一步很很很很重要,如果不知道怎么选请选择1========
      RUN Choose Task:[请输入括号内的数字]
      新手或首次安装一定要一定要一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
      [1]:更换系统源再继续安装
      [2]:不更换继续安装
      0:quit
      请输入[]内的数字以选择:1
      RUN Choose Task:[请输入括号内的数字]
      请选择换源方式,如果不知道选什么请选2
      [1]:仅更换系统源
      [2]:更换系统源并清理第三方源
      0:quit
      请输入[]内的数字以选择:2
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list]
      [-][0.00s] CMD Result:success

      删除一个资源文件
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d]
      [-][0.00s] CMD Result:success

      Run CMD Task:[sudo mkdir -p /etc/apt/sources.list.d]
      [-][0.00s] CMD Result:success

      源选择方式说明:

      1. 自动测速选择最快的源: 系统将自动测试各个源的速度,并选择最快的源
      2. 根据测速结果手动选择源: 系统将测试各个源的速度,然后让您从测试结果中选择
        RUN Choose Task:[请输入括号内的数字]
        请选择源的选择方式
        [1]:自动测速选择最快的源
        [2]:根据测速结果手动选择源
        0:quit
        请输入[]内的数字以选择:1
        Run CMD Task:[dpkg --print-architecture]
        [-][0.01s] CMD Result:success

      检测到当前系统:ubuntu 架构:arm64 代号:focal,正在为你搜索适合的源...
      搜索到可用源:['https://ports.ubuntu.com/ubuntu-ports', 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'https://ports.ubuntu.com/ubuntu-ports', 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'http://ports.ubuntu.com/ubuntu-ports', 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports', 'http://ports.ubuntu.com/ubuntu-ports', 'http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports']
      接下来将进行自动测速以为您选择最快的源:

      • https://ports.ubuntu.com/ubuntu-ports 延时:0.70s
      • https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports 延时:0.04s
      • https://ports.ubuntu.com/ubuntu-ports 延时:0.70s
      • https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports 延时:0.04s
      • http://ports.ubuntu.com/ubuntu-ports 延时:0.71s
      • http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports 延时:0.04s
      • http://ports.ubuntu.com/ubuntu-ports 延时:0.67s
      • http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports 延时:0.05s
        为您选择最快镜像源:https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports
        创建文件:/etc/apt/sources.list
        替换镜像源完成,尝试进行更新....
        Run CMD Task:[sudo apt update]
        [-][3.95s] CMD Result:success

      搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
      ['Hit:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal InRelease', 'Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-updates InRelease', 'Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-backports InRelease', 'Hit:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports focal-security InRelease', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "143 packages can be upgraded. Run 'apt list --upgradable' to see them."]
      镜像更新完成.....
      ============正在添加ROS源密钥=================
      Run CMD Task:[sudo apt update]
      [-][4.18s] CMD Result:success

      Run CMD Task:[sudo apt search curl ]
      [-][1.37s] CMD Result:success

      Run CMD Task:[sudo apt install curl -y]
      [-][1.33s] CMD Result:code:100

      Run CMD Task:[sudo apt search gnupg2 ]
      [-][1.30s] CMD Result:success

      Run CMD Task:[sudo apt install gnupg2 -y]
      [-][1.42s] CMD Result:code:100

      正在挑选最快的密钥服务:['https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc', 'https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc']

      • https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc 延时:0.15s
      • https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc 延时:0.48s
        已自动选择最快密钥服务:https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc
        Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
        [-][0.28s] CMD Result:code:255

      Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
      [-][0.28s] CMD Result:code:255

      Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
      [-][0.21s] CMD Result:code:255

      导入密钥失败,开始更换导入方式并二次尝试...
      Run CMD Task:[sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654]
      [-][0.30s] CMD Result:code:255

      Run CMD Task:[dpkg --print-architecture]
      [-][0.01s] CMD 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]
      [-][4.04s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [-][1.40s] CMD Result:success

      换源后更新失败,第二次开始切换源,尝试更换ROS2源为华为源!
      根据您的系统,为您推荐安装源为['https://repo.huaweicloud.com/ros/ubuntu/', 'https://repo.huaweicloud.com/ros2/ubuntu/']
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
      [-][0.00s] CMD Result:success

      创建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [-][4.52s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [-][1.40s] CMD Result:success

      换源后更新失败,第三次开始切换源,尝试使用https-ROS官方源~!
      根据您的系统,为您推荐安装源为['https://packages.ros.org/ros/ubuntu/', 'https://packages.ros.org/ros2/ubuntu/']
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
      [-][0.00s] CMD Result:success

      创建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [-][1.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][1.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][1.90s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.00s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.10s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [/][2.20s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [][2.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.40s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.50s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.60s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.70s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.80s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][2.90s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.00s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.10s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.21s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.31s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.41s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.51s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.61s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.71s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.81s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [|][3.91s] Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error [-][4.11s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [-][1.40s] CMD Result:success

      换源后更新失败,第四次开始切换源,尝试更换ROS源为http-ROS官方源!
      根据您的系统,为您推荐安装源为['http://packages.ros.org/ros/ubuntu/', 'http://packages.ros.org/ros2/ubuntu/']
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
      [-][0.00s] CMD Result:success

      创建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [-][4.41s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      Run CMD Task:[sudo apt search ros-base ]
      [-][1.40s] CMD Result:success

      Run CMD Task:[sudo apt update]
      [-][4.32s] CMD Result:code:100

      apt更新失败,后续程序可能会继续尝试...,[]
      四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
      Run CMD Task:[sudo apt search ros-base ]
      [-][1.33s] CMD Result:success

      欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
      鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
      如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈

      检测到本次运行出现失败命令,直接退出按Ctrl+C,按任意键上传日志并退出

      1 条回复 最后回复 回复 引用 0
      • 第一个帖子
        最后一个帖子
      皖ICP备16016415号-7
      Powered by NodeBB | 鱼香ROS