错误 sudo apt-get update 并且无法安装软件包

错误 sudo apt-get update 并且无法安装软件包

我在运行几个星期时遇到了几个错误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

相关内容