紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一行代码安装ROS1/ROS2,提示apt异常,最终只能用国外源进行安装,导致安装速度变慢
-
最近给几台电脑安装ROS1/ROS2,尝试过用手机热点、家用有线/无线、公司有线/无线,都会出现问题。换源三次
列表都失败了,最终还是用了ROS的官方源,安装变得很慢。根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/'] Run CMD Task:[sudo apt update] [-]Result:code:100 /ros/ubuntu focal/main amd64 Packages [698 kB]130 80] 当前apt存在问题,推荐使用一键换源处理...若无法处理,请将下列错误信息告知小鱼...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/dists/focal/main/binary-amd64/Packages.gz File has unexpected size (1079790 != 1092928). Mirror sync in progress? [IP: 101.6.15.130 80]\n', ' Hashes of expected file:\n', ' - Filesize:1092928 [weak]\n', ' - SHA256:399489b1137d48ad19917f0f55c395a01cf8b2a9653c573ada099bccaffcdf2e\n', ' - SHA1:e4c6e9e39176f3385ef4bd56ebe78e4e60fee11a [weak]\n', ' - MD5Sum:e3c5c5b8bc863ab11413cc4d22d697bf [weak]\n', ' Release file created at: Fri, 01 Jul 2022 19:53:27 +0000\n', 'E: Some index files failed to download. They have been ignored, or old ones used instead.\n'] 换源后更新失败,第二次开始切换源,尝试更换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 Run CMD Task:[sudo apt update] [-]Result:code:100 untu focal/main amd64 Packages [698 kB]0.233.177.156 443] 当前apt存在问题,推荐使用一键换源处理...若无法处理,请将下列错误信息告知小鱼...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Failed to fetch https://repo.huaweicloud.com/ros2/ubuntu/dists/focal/main/binary-amd64/Packages.gz File has unexpected size (1079790 != 1092928). Mirror sync in progress? [IP: 120.233.177.156 443]\n', ' Hashes of expected file:\n', ' - Filesize:1092928 [weak]\n', ' - SHA256:399489b1137d48ad19917f0f55c395a01cf8b2a9653c573ada099bccaffcdf2e\n', ' - SHA1:e4c6e9e39176f3385ef4bd56ebe78e4e60fee11a [weak]\n', ' - MD5Sum:e3c5c5b8bc863ab11413cc4d22d697bf [weak]\n', ' Release file created at: Fri, 01 Jul 2022 19:53:27 +0000\n', 'E: Some index files failed to download. They have been ignored, or old ones used instead.\n'] 换源后更新失败,第三次开始切换源,尝试更换ROS2源为ROS2官方源! 根据您的系统,为您推荐安装源为['http://packages.ros.org/ros/ubuntu/', 'http://packages.ros.org/ros2/ubuntu/']
-
@H 这个是因为某服的问题,目前没有比较好的解决方法,特定地区的网络就会有这个问题。
-
@小鱼 感谢~ 看来广州被针对了