求救。。。。可以上网但不可以更新任何东西。
-
- 帖子: 13
- 注册时间: 2007-07-22 7:53
求救。。。。可以上网但不可以更新任何东西。
以下为更新软件时候报错显示:
http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... elease.gpg: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
http://cn.archive.ubuntu.com/ubuntu/dis ... -zh_CN.bz2: 无法连接上 localhost:4001 (127.0.0.1)。 - connect (111 Connection refused)
- ofewiofewo
- 帖子: 547
- 注册时间: 2007-06-02 14:56
-
- 帖子: 13
- 注册时间: 2007-07-22 7:53
- zhuqin_83
- 帖子: 10606
- 注册时间: 2006-05-13 4:02
- 联系:
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
-
- 帖子: 13
- 注册时间: 2007-07-22 7:53
-
- 帖子: 723
- 注册时间: 2006-04-11 9:01
在新立得的首选项设置里看看,那里可能设置了代理服务器。网络似乎用的是localhost,eth0开启了吗?
看看输出。
代码: 全选
ifconfig
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
http://hi.baidu.com/wienerlee
-
- 帖子: 13
- 注册时间: 2007-07-22 7:53
- 狸猫
- 帖子: 122
- 注册时间: 2007-01-14 23:06
我在google上搜了一下“localhost:4001”,找到了一个和楼主同病相怜的:
https://lists.ubuntu.com/archives/ubunt ... 90364.html
后来他又发了一个贴子,说问题可以通过“Using root”来解决,但他也不知道问题根源是什么,楼主不妨参考一下:
https://lists.ubuntu.com/archives/ubunt ... 90381.html
原话:
Additionally to the previous message, it turns out that this problem is
user-confined. Using root I do not have this problem. In stead issuing
apt-get update after su - gives me a correct update, no errors.(他这里应该是说使用root权限就可以,而不是非要用root用户来执行)
Why is adept/apt-get trying to talk to localhost:4001 (127.0.0.1) in
stead of my ethernet card, while it works correctly for root?
https://lists.ubuntu.com/archives/ubunt ... 90364.html
后来他又发了一个贴子,说问题可以通过“Using root”来解决,但他也不知道问题根源是什么,楼主不妨参考一下:
https://lists.ubuntu.com/archives/ubunt ... 90381.html
原话:
Additionally to the previous message, it turns out that this problem is
user-confined. Using root I do not have this problem. In stead issuing
apt-get update after su - gives me a correct update, no errors.(他这里应该是说使用root权限就可以,而不是非要用root用户来执行)
Why is adept/apt-get trying to talk to localhost:4001 (127.0.0.1) in
stead of my ethernet card, while it works correctly for root?
~~~~~~~~~华丽的签名分割线~~~~~~~~~
ubuntu 9.04 @ Dell Optiplex 360
Planning Leopard @ Thinkpad X61
~~Linux Newbie~~ ~~计算机从业人员~~
My Blog
ubuntu 9.04 @ Dell Optiplex 360
Planning Leopard @ Thinkpad X61
~~Linux Newbie~~ ~~计算机从业人员~~
My Blog
- ofewiofewo
- 帖子: 547
- 注册时间: 2007-06-02 14:56
代码: 全选
unset http_proxy