小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装ros失败
-
安装出现报错 -
@1970465543
已经解决。
重试安装时,注意到有个提示,按照提示执行后安装成功。虽然最后启动又有新问题,但都能百度到。小鱼牛逼,还是很方便的。 -
你好,你是遇到下边这种错误吗:
下列软件包有未满足的依赖关系:
ros-foxy-desktop : 依赖: ros-foxy-depthimage-to-laserscan 但是它将不会被安装
依赖: ros-foxy-image-tools 但是它将不会被安装
依赖: ros-foxy-intra-process-demo 但是它将不会被安装
依赖: ros-foxy-pcl-conversions 但是它将不会被安装
依赖: ros-foxy-rqt-common-plugins 但是它将不会被安装
依赖: ros-foxy-rviz-default-plugins 但是它将不会被安装
依赖: ros-foxy-rviz2 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
Run CMD Task:[sudo apt install ros-foxy-desktop -y]
[-]Result:code:100 是它将不会被安装 它将不会被安装 装 -
@1970465543 你好,可以详细说说怎么解决的吗?我也遇到了这个问题 谢谢!
-
apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/jammy/main/binary-amd64/Packages 404 Not Found [IP: 202.141.160.110 443]\n', 'E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/jammy-updates/main/binary-amd64/Packages 404 Not Found [IP: 202.141.160.110 443]\n', 'E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/jammy-backports/main/binary-amd64/Packages 404 Not Found [IP: 202.141.160.110 443]\n', 'E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/jammy-security/main/binary-amd64/Packages 404 Not Found [IP: 202.141.160.110 443]\n', 'E: Some index files failed to download. They have been ignored, or old ones used instead.\n']
Run CMD Task:[sudo apt-cache search curl ]
[|]libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavou[-]Result:success ansfer library (OpenSSL flavour)Run CMD Task:[sudo apt install curl -y]
[-]Result:success e and 0 not upgraded.Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:successTraceback (most recent call last):
File "/tmp/fishinstall/install.py", line 122, in <module>
main()
File "/tmp/fishinstall/install.py", line 114, in main
run_tool_file(tools[code]['tool'].replace(url_prefix,'').replace("/","."))
File "/tmp/fishinstall/tools/base.py", line 1298, in run_tool_file
if tool.run()==False: return False
File "/tmp/fishinstall/tools/tool_install_ros.py", line 390, in run
self.install_ros()
File "/tmp/fishinstall/tools/tool_install_ros.py", line 380, in install_ros
self.add_key()
File "/tmp/fishinstall/tools/tool_install_ros.py", line 172, in add_key
AptUtils.install_pkg('gnupg2')
File "/tmp/fishinstall/tools/base.py", line 1237, in install_pkg
for key in dic.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
一直是这样的 22.04 amd64 -
@1970465543 不好意思铁子,已经忘记了,你重新安装,严格按照提示试一试