首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法连接到127.0.0.1:9050: Err http://extras.ubuntu.com quantal Release.gpg

无法连接到127.0.0.1:9050: Err http://extras.ubuntu.com quantal Release.gpg
EN

Ask Ubuntu用户
提问于 2013-04-14 09:09:12
回答 1查看 2.5K关注 0票数 0

我已经安装了Ubuntu12.10,因为大约一个月前,我不能从软件中心、突触或终端安装任何程序,也不能更新我安装的软件。以下是软件中心的截图:

您可以看到,程序的信息和安装底部都没有。(在“软件源”中,多体源被选中)

命令sudo apt-get upgrade的日志是:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

命令sudo apt-get update的日志是:

代码语言:javascript
复制
Err http://ir.archive.ubuntu.com quantal InRelease
Err http://ir.archive.ubuntu.com quantal-updates InRelease
Err http://ir.archive.ubuntu.com quantal-backports InRelease
Err http://ir.archive.ubuntu.com quantal-security InRelease
Err http://extras.ubuntu.com quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ppa.launchpad.net quantal InRelease
Err http://ir.archive.ubuntu.com quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ir.archive.ubuntu.com quantal-updates Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ir.archive.ubuntu.com quantal-backports Release.gpg
  Unable to connect to 127.0.0.1:9050:
Ign https://private-ppa.launchpad.net quantal InRelease
Err http://extras.ubuntu.com quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal InRelease

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

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

Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ir.archive.ubuntu.com quantal-security Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Err http://ppa.launchpad.net quantal Release.gpg
  Unable to connect to 127.0.0.1:9050:
Ign https://private-ppa.launchpad.net quantal Release.gpg
Ign https://private-ppa.launchpad.net quantal Release
Err https://private-ppa.launchpad.net quantal/main amd64 Packages
  couldn't connect to host
Err https://private-ppa.launchpad.net quantal/main i386 Packages
  couldn't connect to host
Ign https://private-ppa.launchpad.net quantal/main Translation-en_US
Ign https://private-ppa.launchpad.net quantal/main Translation-en
Reading package lists... Done
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-updates/InRelease  

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-backports/InRelease  

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-security/InRelease  

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/alexeftimie/ppa/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/amith/ubuntutools/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/atareao/atareao/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/debfx/virtualbox/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/indicator-multiload/stable-daily/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/jfi/ppa/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/lucid-bleed/ppa/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/tualatrix/next/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/flareget-amd64/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ppa.launchpad.net/videolan/stable-daily/ubuntu/dists/quantal/InRelease  

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-updates/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-backports/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/quantal-security/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/alexeftimie/ppa/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/alexmurray/indicator-sensors/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/amith/ubuntutools/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/atareao/atareao/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/debfx/virtualbox/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/indicator-multiload/stable-daily/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/jfi/ppa/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/lucid-bleed/ppa/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/tualatrix/next/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/flareget-amd64/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch http://ppa.launchpad.net/videolan/stable-daily/ubuntu/dists/quantal/Release.gpg  Unable to connect to 127.0.0.1:9050:

W: Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/motorbike/ubuntu/dists/quantal/main/binary-amd64/Packages  couldn't connect to host

W: Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/motorbike/ubuntu/dists/quantal/main/binary-i386/Packages  couldn't connect to host

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

在更新管理器中,当我想检查更新时,它说:

无法下载下列软件包:

代码语言:javascript
复制
Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal/InRelease Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-updates/InRelease Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-backports/InRelease Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-security/InRelease Failed to download http://extras.ubuntu.com/ubuntu/dists/quantal/InRelease Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Unable to connect to 127.0.0.1:9050: Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-updates/Release.gpg Unable to connect to 127.0.0.1:9050: Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-backports/Release.gpg Unable to connect to 127.0.0.1:9050: Failed to download http://extras.ubuntu.com/ubuntu/dists/quantal/Release.gpg Unable to connect to 127.0.0.1:9050: Failed to download http://ir.archive.ubuntu.com/ubuntu/dists/quantal-security/Release.gpg Unable to connect to 127.0.0.1:9050: 

请帮帮忙。

我已经看过这个更新管理器无法获得更新了,但这对我没有帮助,所以请不要把这个问题标记为重复

EN

回答 1

Ask Ubuntu用户

发布于 2013-04-14 09:28:51

似乎您已经设置了一个代理服务器“127.0.0.1:9050”,可能是一些反过滤程序之类的。因此,如果您不坚持使用此代理,打开网络并将代理设置为none (或任何其他您需要的代理),然后单击set system wide。然后,您应该能够使用sudo apt-get update更新软件包列表,然后通过sudo apt-get install或使用synaptic或软件中心安装它们。

如果您坚持使用代理服务器,首先检查是否可以使用该代理访问internet (使用firefox或任何其他带有该代理的浏览器并打开网站)。然后在网络中设置代理,并设置系统的宽度。请记住,如果您的代理需要身份验证,则必须手动编辑/etc/apt/apt.conf文件,以类似于

代码语言:javascript
复制
Acquire::http::proxy "http://username:password@proxy:port";

Acquire::https::proxy "https://username:password@proxy:port";

Acquire::ftp::proxy "ftp://username:password@proxy:port";
票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/281279

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档