小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
树莓派Ubuntu mate 22.04一键安装,换源后更新失败
-
小鱼:检测当前系统ubuntu22.04:jammy 支持一键安装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:jammy],正在为你更换对应源..
替换完成,尝试第一次更新....
Run CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.ee搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
['Hit:1 https://mirrors.ustc.edu.cn/ubuntu-ports jammy InRelease', 'Hit:2 https://mirrors.ustc.edu.cn/ubuntu-ports jammy-updates InRelease', 'Hit:3 https://mirrors.ustc.edu.cn/ubuntu-ports jammy-backports InRelease', 'Hit:4 https://mirrors.ustc.edu.cn/ubuntu-ports jammy-security InRelease', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "439 packages can be upgraded. Run 'apt list --upgradable' to see them."]
镜像修复完成.....
Run CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.eeRun CMD Task:[sudo apt-cache search curl ]
[-]Result:success guageage - source codeer toolsyfishmentation)slyt source code3 moree-system-lib-on-osx"Run CMD Task:[sudo apt install curl -y]
[-]Result:success e and 439 not upgraded.Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success eplacement (dummy transitional package)Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success e and 439 not upgraded.Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:successRun CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/ros.gpg --import]
[-]Result:successRun CMD Task:[sudo chmod 644 /etc/apt/trusted.gpg.d/ros.gpg]
[-]Result:successRun CMD Task:[dpkg --print-architecture]
[-]Result:success根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
Run CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them. Packages [1,230 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第二次开始切换源,尝试更换ROS2源为华为源!
根据您的系统,为您推荐安装源为['https://repo.huaweicloud.com/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-]Result:successRun CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.es [1,230 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第三次开始切换源,尝试更换ROS2源为ROS2官方源!
根据您的系统,为您推荐安装源为['http://packages.ros.org/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-]Result:successRun CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.,230 kB]Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberos换源后更新失败,第四次开始切换源,尝试使用https-ROS2官方源~!
根据您的系统,为您推荐安装源为['https://packages.ros.org/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-]Result:successRun CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.eeRun CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success e development metapackageKerberosRun CMD Task:[sudo apt update]
[-]Result:success st --upgradable' to see them.eeRun 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