Help: sudo apt-get update failed

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

Help: sudo apt-get update failed

#1

帖子 wangbo » 2005-12-19 16:10

sorry for english, because i have not install the chinese input method yet. it is because of the apt-get problem

I changed the /etc/apt/sourses.list by the instructions of ubuntu.org.cn, but when i sudo apt-get update, i can not connect to the server.

here is the error :

代码: 全选

biantaishabi@biantaishabi:~$ sudo apt-get update
Err http://archive.ubuntu.org.cn breezy Release.gpg
  Could not connect to archive.ubuntu.org.cn:80 (211.148.131.7), connection timed out
Err http://archive.ubuntu.org.cn breezy-security Release.gpg
  Could not connect to archive.ubuntu.org.cn:80 (211.148.131.7), connection timed out
Err http://archive.ubuntu.org.cn breezy-updates Release.gpg
  Could not connect to archive.ubuntu.org.cn:80 (211.148.131.7), connection timed out
Err http://archive.ubuntu.org.cn breezy-backports Release.gpg
  Could not connect to archive.ubuntu.org.cn:80 (211.148.131.7), connection timed out
Err http://archive.ubuntu.org.cn breezy Release.gpg
  Could not connect to archive.ubuntu.org.cn:80 (211.148.131.7), connection timed out
0% [Connecting to archive.ubuntu.org.cn (211.148.131.7)]
is anybody know how to solve the problem
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

#2

帖子 catinsnow » 2005-12-19 17:11

1.确认你能访问网络
2.其它时间试试.
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
头像
yang119345
帖子: 570
注册时间: 2005-06-19 14:22
来自: 上海
联系:

#3

帖子 yang119345 » 2005-12-19 17:24

排除你的网络问题。


还有可能是网站问题,换个源
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

#4

帖子 wangbo » 2005-12-19 17:42

谢谢楼上了
我的网络可以用
换了很多源都是一样的提示

上面的帖子就是在ubuntu底下发的
现在回到win终于可以用中文了
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

#5

帖子 wangbo » 2005-12-19 20:18

试了一下
还是connect time out
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#6

帖子 oneleaf » 2005-12-19 20:30

wangbo 写了:试了一下
还是connect time out
在firefox中打开 http://archive.ubuntu.org.cn 看看。进去下载一个文件试试。
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

#7

帖子 wangbo » 2005-12-19 21:03

i can download the files under the directory
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#8

帖子 oneleaf » 2005-12-19 21:08

wangbo 写了:i can download the files under the directory
try:

代码: 全选

wget http://archive.ubuntu.org.cn/ubuntu/pool/main/a/adduser/adduser_3.64ubuntu1_all.deb    
你上网需要代理?
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

#9

帖子 wangbo » 2005-12-19 21:26

right
I am in campus and need a proxy to connect to internet

代码: 全选

biantaishabi@biantaishabi:~$ wget http://archive.ubuntu.org.cn/ubuntu/pool/main/a/adduser/adduser_3.64ubuntu1_all.deb
--22:25:08--  http://archive.ubuntu.org.cn/ubuntu/pool/main/a/adduser/adduser_3.64ubuntu1_all.deb
           => `adduser_3.64ubuntu1_all.deb'
Resolving archive.ubuntu.org.cn... 211.148.131.7
Connecting to archive.ubuntu.org.cn|211.148.131.7|:80...
stop here for minutes
wangbo
帖子: 7
注册时间: 2005-12-19 16:01
联系:

#10

帖子 wangbo » 2005-12-20 8:51

把http_proxy的环境变量设置了一下
现在已经可以了
谢谢oneleaf~
回复