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:success
Traceback (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