小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装失败,换源失败,拜托大佬了
-
小鱼:检测当前系统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:[sudo mkdir -p /etc/apt/sources.list.d]
[-]Result:successRun CMD Task:[dpkg --print-architecture]
[-]Result:success检测到当前系统架构为[arm64:bionic],正在为你更换对应源..
创建文件:/etc/apt/sources.list
替换完成,尝试第一次更新....
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。ltiverse Translation-en [3,928 B]搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['获取:1 https://mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease [242 kB]', '获取:2 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease [88.7 kB]', '获取:3 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease [83.3 kB]', '获取:4 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease [88.7 kB]', '获取:5 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/main armhf Packages [968 kB]', '获取:6 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/main Translation-zh_CN [67.7 kB]', '获取:7 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/main Translation-en [516 kB]', '获取:8 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/restricted armhf Packages [8,360 B]', '获取:9 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/restricted Translation-zh_CN [1,188 B]', '获取:10 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/restricted Translation-en [3,584 B]', '获取:11 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/universe armhf Packages [8,269 kB]', '获取:12 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/universe Translation-en [4,941 kB]', '获取:13 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/universe Translation-zh_CN [174 kB]', '获取:14 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/multiverse armhf Packages [129 kB]', '获取:15 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/multiverse Translation-en [108 kB]', '获取:16 https://mirrors.ustc.edu.cn/ubuntu-ports bionic/multiverse Translation-zh_CN [4,768 B]', '获取:17 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/main armhf Packages [1,438 kB]', '获取:18 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/main Translation-en [553 kB]', '获取:19 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/restricted armhf Packages [13.4 kB]', '获取:20 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/restricted Translation-en [187 kB]', '获取:21 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/universe armhf Packages [1,626 kB]', '获取:22 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/universe Translation-en [421 kB]', '获取:23 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/multiverse armhf Packages [6,200 B]', '获取:24 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates/multiverse Translation-en [6,088 B]', '获取:25 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports/main armhf Packages [53.2 kB]', '获取:26 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports/main Translation-en [14.6 kB]', '获取:27 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports/universe armhf Packages [17.7 kB]', '获取:28 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports/universe Translation-en [8,668 B]', '获取:29 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/main armhf Packages [1,162 kB]', '获取:30 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/main Translation-en [467 kB]', '获取:31 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/restricted armhf Packages [9,576 B]', '获取:32 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/restricted Translation-en [182 kB]', '获取:33 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/universe armhf Packages [1,091 kB]', '获取:34 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/universe Translation-en [308 kB]', '获取:35 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/multiverse armhf Packages [2,672 B]', '获取:36 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security/multiverse Translation-en [3,928 B]', '已下载 23.3 MB,耗时 1分 15秒 (309 kB/s)', '正在读取软件包列表...', '正在分析软件包的依赖关系树...', '正在读取状态信息...', '有 75 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。', '']
镜像修复完成.....
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。eleaseeRun CMD Task:[sudo apt-cache search curl ]
[-]Result:success age - all developer toolsnt filesMPDsfilesbrariesesr)d lineRun CMD Task:[sudo apt install curl -y]
[-]Result:success 要卸载 0 个软件包,有 75 个软件包未被升级。Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success eplacement (dummy transitional package)Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success 要卸载 0 个软件包,有 75 个软件包未被升级。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/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。arm64 Packages [793 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第二次开始切换源,尝试更换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]
[-]Result:success创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。ackages [793 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第三次开始切换源,尝试更换ROS2源为ROS2官方源!
根据您的系统,为您推荐安装源为['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]
[-]Result:success创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。es [660 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第四次开始切换源,尝试使用https-ROS2官方源~!
根据您的系统,为您推荐安装源为['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]
[-]Result:success创建文件:/etc/apt/sources.list.d/ros-fish.list
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。eleaseeRun CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberosRun CMD Task:[sudo apt update]
[-]Result:success --upgradable’ 来查看它们。eleaseeRun CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberosRun CMD Task:[ls /opt/ros/False/setup.bash]
[-]Result:code:2安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
Run CMD Task:[ls /opt/ros/False/setup.bash]
[-]Result:code:2欢迎加入机器人学习交流QQ群:438144612(入群口令:一键安装)
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或打开链接查看:https://item.taobao.com/item.htm?id=696573635888
如在使用过程中遇到问题,请打开:https://fishros.org.cn/forum 进行反馈