![错误 sudo apt-get update 并且无法安装软件包](https://linux22.com/image/1031652/%E9%94%99%E8%AF%AF%20sudo%20apt-get%20update%20%E5%B9%B6%E4%B8%94%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E8%BD%AF%E4%BB%B6%E5%8C%85.png)
我在运行几个星期时遇到了几个错误sudo apt-get update
。截至今天,我无法使用“sudo apt install”安装软件包。我一直在尝试在线寻找解决这些问题的解决方案,但到目前为止还没有成功,所以我希望你能明白问题所在。提前感谢你的帮助。
以下是使用“apt-get update”时返回的错误:
Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Connection failed [IP: 185.125.190.39 80]
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Connection failed [IP: 91.189.91.82 80]
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Connection failed [IP: 91.189.91.81 80]
Err:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Connection failed [IP: 91.189.91.83 80]
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Connection failed [IP: 185.125.190.39 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Connection failed [IP: 91.189.91.82 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Connection failed [IP: 91.189.91.81 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease Connection failed [IP: 91.189.91.83 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
下面是我运行时返回的错误示例sudo apt install
:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openconnect