“无法连接到 80.112.143.217:80”,为什么?

“无法连接到 80.112.143.217:80”,为什么?

在安装从 ubuntu.com 下载的全新 ubuntu 14.04 后,我尝试安装一些软件包(无论是 nodejs 还是 apache2),它总是提示找不到名称。我搜索了一下,在这里找到了一些答案

无法使用 apt-get 安装文件:“无法找到包”

http://ubuntuforums.org/showthread.php?t=2204637

http://ubuntuforums.org/showthread.php?t=2225203

但对我来说没有解决方案。我已经启用了所有源 -

在此处输入图片描述

也尝试过sudo apt-get update很多次,但它又回来了

有些输出类似这样的内容:无法下载或找到软件包或类似内容 -

    Err http://in.archive.ubuntu.com trusty/universe Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty/universe Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Sources
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main i386 Packages
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Translation-en_IN
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Translation-en
  Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty/main Sources
  Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en_IN  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/source/Sources  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/source/Sources  Unable to connect to 80.112.143.217:80:

sudo: unable to resolve host unknown-GG003AA-ACJ-SR5160IL
Err http://in.archive.ubuntu.com trusty InRelease                                                                                                     

Err http://in.archive.ubuntu.com trusty-updates InRelease                                                                                             

Err http://in.archive.ubuntu.com trusty-backports InRelease                                                                                           

Err http://in.archive.ubuntu.com trusty-proposed InRelease                                                                                            

Err http://ppa.launchpad.net trusty InRelease                                                                                                         

Err http://ppa.launchpad.net trusty InRelease                                                                                                         

Err http://ppa.launchpad.net trusty InRelease                                                                                                         

Err http://ppa.launchpad.net trusty InRelease                                                                                                         

Err http://dl.google.com stable InRelease                                                                                                             

Err http://ppa.launchpad.net trusty Release.gpg                                                                                                       
  Unable to connect to 80.112.143.217:80:
Err http://archive.ubuntu.com trusty InRelease                                                                                                        

Err http://security.ubuntu.com trusty-security InRelease                                                                                              

Err http://archive.ubuntu.com trusty Release.gpg                                                                                                      
  Unable to connect to 80.112.143.217:80:
Err http://security.ubuntu.com trusty-security Release.gpg                                        
  Unable to connect to 80.112.143.217:80:
Err http://archive.canonical.com trusty InRelease                                                 

Err http://archive.canonical.com trusty Release.gpg                                               
  Unable to connect to 80.112.143.217:80:
Err http://extras.ubuntu.com trusty InRelease     

Err http://extras.ubuntu.com trusty Release.gpg   
  Unable to connect to 80.112.143.217:80:
Reading package lists... Done


W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/InRelease  

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 80.112.143.217:80:

W: Some index files failed to download. They have been ignored, or old ones used instead.

我现在应该怎么做

答案1

由于每次尝试连接到提供 Ubuntu 软件包的服务器时都会出现相同 IP 地址的错误,因此我认为您已使用 IP 80.112.143.217 和端口 80 配置了 Web 代理。

在 Google 中快速搜索后我发现,该 IP 确实与公共网络代理相关联。

目前它没有响应任何查询,所以我现在可能没有运行。尝试删除代理设置:System settings-> Network-> Network proxy。删除或将代理地址更改为正常运行的地址,然后单击Apply system wide

答案2

似乎您正在使用代理来连接存储库。/etc/apt/apt.conf 中的配置文件可能有误。请检查内容。其格式应为:

Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
Acquire::ftp::proxy "ftp://<username>:<password>@<proxy>:<port>/";
Acquire::https::proxy "https://<username>:<password>@<proxy>:<port>/";

用户名不能是电子邮件!!! - 用户名和密码可以为空 - 删除 < >

如果您能够直接连接到互联网,只需删除 /etc/apt/apt.conf 文件即可。(也建议先备份它:)​​)所有这些信息适用于 ubuntu 12.04 到 14.04(据我所知)

相关内容