111:尝试更新时拒绝连接

我正在使用Ubuntu 16.04。 每当我尝试运行sudo apt update ,都不会sudo apt update任何内容,输出如下:

 错误:1 http://dl.google.com/linux/chrome/deb stable InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
错误:2 http://gb.archive.ubuntu.com/ubuntu xenial InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
错误:3 http://security.ubuntu.com/ubuntu xenial-security InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
错误:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease无法连接到213.192.64.75:41258: 
错误:5 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease无法连接到213.192.64.75:41258: 
错误:6 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease无法连接到213.192.64.75:41258: 
阅读包裹清单......完成 
 W:无法获取http://gb.archive.ubuntu.com/ubuntu/dists/xenial/InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
 W:无法获取http://gb.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease无法连接到213.192.64.75:41258: 
 W:无法获取http://gb.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease无法连接到213.192.64.75:41258: 
 W:无法获取http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
 W:无法获取http://dl.google.com/linux/chrome/deb/dists/stable/InRelease无法连接到213.192.64.75:41258(213.192.64.75)。  - 连接(111:拒绝连接) 
 W:无法获取http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/InRelease无法连接到213.192.64.75:41258: 
 W:某些索引文件无法下载。 它们被忽略了,或者用旧的。 

没有代理运行。 没有活动防火墙。 ping有问题的服务器可以正常工作。

由于存在unmet dependencies我也无法安装任何软件包。 我的包管理器似乎完全搞砸了; 不确定这两者是否以任何方式相关联,所以我在这里单独提出一个问题:askubuntu.com/questions/1081041/apt-get-unmet-dependencies

由于以下原因之一,您尝试连接的IP地址未打开您尝试连接的端口。

  1. 您正在连接到错误的IP地址。 在主机名为localhostnmap localhost )的服务器上使用nmap ,检查服务器是否在所需端口中正常运行,并在客户端上使用服务器的公共IP地址检查目标端口是否已打开。

  2. 您没有成功打开防火墙上的端口。

  3. 您的系统配置为使用本地HTTP代理进行apt连接,并且没有运行此类代理(为了完整性而包含在此答案中,尽管您评论说没有代理正在运行)。 许多公司和高等教育机构都有限制,其中包括控制您可以访问的网站类型的政策。

这可能对你有帮助。 https://ubuntuforums.org/showthread.php?t=1844030 。 您也可以尝试https://ubuntuforums.org/showthread.php?t=1844030 。