求救。。。。可以上网但不可以更新任何东西。

系统字体配置、中文显示和输入法问题
回复
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

求救。。。。可以上网但不可以更新任何东西。

#1

帖子 ljgsdog » 2007-08-03 7:39

以下为更新软件时候报错显示:
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

#2

帖子 ofewiofewo » 2007-08-03 7:44

你有没有装tor之类的代理软件?关掉再试试
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#3

帖子 ljgsdog » 2007-08-04 8:37

谢谢...我去找找看有没有开。
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#4

帖子 ljgsdog » 2007-08-04 9:28

没有开代理软件。。。
我现在用的版本是edubuntu..是从ubuntu版本上面转过来的
一转过来就不能更新东西了。

大家有没有遇到过这样的问题?
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#5

帖子 zhuqin_83 » 2007-08-04 9:33

换源试试
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#6

帖子 skyx » 2007-08-04 9:34

zhuqin_83 写了:换源试试
不像是源的问题,像是开了代理什么的。看下网络设定。
no security measure is worth anything if an attacker has physical access to the machine
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#7

帖子 ljgsdog » 2007-08-04 9:43

刚刚从ubumtu转到edubuntu..没有开任何代理服务
上次由 ljgsdog 在 2007-08-04 21:24,总共编辑 1 次。
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#8

帖子 ljgsdog » 2007-08-04 10:06

以下是更新和在终端更新的截图
附件
Screenshot-1.png
leeyee
帖子: 723
注册时间: 2006-04-11 9:01

#9

帖子 leeyee » 2007-08-05 10:09

在新立得的首选项设置里看看,那里可能设置了代理服务器。网络似乎用的是localhost,eth0开启了吗?

代码: 全选

ifconfig
看看输出。
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#10

帖子 ljgsdog » 2007-08-06 0:07

今天上班没有看回复。晚上回来看到了试了一下结果如下图;还是不行。。是不是要把ipv4或ipv6的其中一个去掉才可以呢?
附件
这是新立得的网络设置和用ifconfig的截图
这是新立得的网络设置和用ifconfig的截图
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#11

帖子 ljgsdog » 2007-08-06 0:08

还是一样不能更新东西。。。。
头像
狸猫
帖子: 122
注册时间: 2007-01-14 23:06

#12

帖子 狸猫 » 2007-08-06 0:16

我在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?
~~~~~~~~~华丽的签名分割线~~~~~~~~~
ubuntu 9.04 @ Dell Optiplex 360
Planning Leopard @ Thinkpad X61

~~Linux Newbie~~ ~~计算机从业人员~~
My Blog
头像
ofewiofewo
帖子: 547
注册时间: 2007-06-02 14:56

#13

帖子 ofewiofewo » 2007-08-06 22:15

代码: 全选

unset http_proxy
是不是在.bashrc配置了代理?
ljgsdog
帖子: 13
注册时间: 2007-07-22 7:53

#14

帖子 ljgsdog » 2007-08-08 1:11

谢谢大家的热情回答,12楼说的哪个贴子我之前就看过了,用了他的方法之后还是一样不能更新。我不知道是不是UBUNTU转到EDUBUNTU之后是不是都不能更新的。搞了几天还没有搞好搞到心情都没有了。。还是重装算了。
回复