apt update 代理错误

apt update 代理错误

如何解决

Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
Err:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease
  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]
W: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease  502  Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL).  ) [IP: 10.10.8.118 8080]

这表示您的代理服务器拒绝您访问此 URL。这不是 Ubuntu 的问题。这是您的代理服务器的问题,可能是由您的公司或学校运行的。

您需要联系代理服务器的管理员,询问他们是否可以为您打开 Ubuntu 镜像。

相关内容