当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox 访问
帖子发表于 : 2011-06-10 19:37 

注册: 2011-06-10 19:28
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
大家好,我有个问题想请教一下,我的source.list是使用的如下地址:

deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse

因为UBUNTU 是通过vmworks station 来运行的,网络是通的,因为我用虚拟机里面的FIREFOX浏览163.com没有问题。更新的时候错误信息为

root@ubuntu:/home/ehaonli# apt-get update
Err http://mirrors.163.com lucid Release.gpg
Could not connect to mirrors.163.com:80 (123.58.173.106). - connect (110: Connection timed out) [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid/main Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid/restricted Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid/universe Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid/multiverse Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security Release.gpg
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-security/main Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-security/restricted Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-security/universe Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-security/multiverse Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates Release.gpg
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-updates/main Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-updates/restricted Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-updates/universe Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed Release.gpg
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-proposed/main Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-proposed/restricted Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-proposed/universe Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-proposed/multiverse Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports Release.gpg
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-backports/main Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-backports/restricted Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-backports/universe Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com/ubuntu/ lucid-backports/multiverse Translation-en_US
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Ign http://mirrors.163.com lucid Release
Ign http://mirrors.163.com lucid-security Release
Ign http://mirrors.163.com lucid-updates Release
Ign http://mirrors.163.com lucid-proposed Release
Ign http://mirrors.163.com lucid-backports Release
Ign http://mirrors.163.com lucid/main Packages
Ign http://mirrors.163.com lucid/restricted Packages
Ign http://mirrors.163.com lucid/universe Packages
Ign http://mirrors.163.com lucid/multiverse Packages
Ign http://mirrors.163.com lucid/main Sources
Ign http://mirrors.163.com lucid/restricted Sources
Ign http://mirrors.163.com lucid/universe Sources
Ign http://mirrors.163.com lucid/multiverse Sources
Ign http://mirrors.163.com lucid-security/main Packages
Ign http://mirrors.163.com lucid-security/restricted Packages
Ign http://mirrors.163.com lucid-security/universe Packages
Ign http://mirrors.163.com lucid-security/multiverse Packages
Ign http://mirrors.163.com lucid-security/main Sources
Ign http://mirrors.163.com lucid-security/restricted Sources
Ign http://mirrors.163.com lucid-security/universe Sources
Ign http://mirrors.163.com lucid-security/multiverse Sources
Ign http://mirrors.163.com lucid-updates/main Packages
Ign http://mirrors.163.com lucid-updates/restricted Packages
Ign http://mirrors.163.com lucid-updates/universe Packages
Ign http://mirrors.163.com lucid-updates/multiverse Packages
Ign http://mirrors.163.com lucid-updates/main Sources
Ign http://mirrors.163.com lucid-updates/restricted Sources
Ign http://mirrors.163.com lucid-updates/universe Sources
Ign http://mirrors.163.com lucid-updates/multiverse Sources
Ign http://mirrors.163.com lucid-proposed/main Packages
Ign http://mirrors.163.com lucid-proposed/restricted Packages
Ign http://mirrors.163.com lucid-proposed/universe Packages
Ign http://mirrors.163.com lucid-proposed/multiverse Packages
Ign http://mirrors.163.com lucid-proposed/main Sources
Ign http://mirrors.163.com lucid-proposed/restricted Sources
Ign http://mirrors.163.com lucid-proposed/universe Sources
Ign http://mirrors.163.com lucid-proposed/multiverse Sources
Ign http://mirrors.163.com lucid-backports/main Packages
Ign http://mirrors.163.com lucid-backports/restricted Packages
Ign http://mirrors.163.com lucid-backports/universe Packages
Ign http://mirrors.163.com lucid-backports/multiverse Packages
Ign http://mirrors.163.com lucid-backports/main Sources
Ign http://mirrors.163.com lucid-backports/restricted Sources
Ign http://mirrors.163.com lucid-backports/universe Sources
Ign http://mirrors.163.com lucid-backports/multiverse Sources
Ign http://mirrors.163.com lucid/main Packages
Ign http://mirrors.163.com lucid/restricted Packages
Ign http://mirrors.163.com lucid/universe Packages
Ign http://mirrors.163.com lucid/multiverse Packages
Ign http://mirrors.163.com lucid/main Sources
Ign http://mirrors.163.com lucid/restricted Sources
Ign http://mirrors.163.com lucid/universe Sources
Ign http://mirrors.163.com lucid/multiverse Sources
Ign http://mirrors.163.com lucid-security/main Packages
Ign http://mirrors.163.com lucid-security/restricted Packages
Ign http://mirrors.163.com lucid-security/universe Packages
Ign http://mirrors.163.com lucid-security/multiverse Packages
Ign http://mirrors.163.com lucid-security/main Sources
Ign http://mirrors.163.com lucid-security/restricted Sources
Ign http://mirrors.163.com lucid-security/universe Sources
Ign http://mirrors.163.com lucid-security/multiverse Sources
Ign http://mirrors.163.com lucid-updates/main Packages
Ign http://mirrors.163.com lucid-updates/restricted Packages
Ign http://mirrors.163.com lucid-updates/universe Packages
Ign http://mirrors.163.com lucid-updates/multiverse Packages
Ign http://mirrors.163.com lucid-updates/main Sources
Ign http://mirrors.163.com lucid-updates/restricted Sources
Ign http://mirrors.163.com lucid-updates/universe Sources
Ign http://mirrors.163.com lucid-updates/multiverse Sources
Ign http://mirrors.163.com lucid-proposed/main Packages
Ign http://mirrors.163.com lucid-proposed/restricted Packages
Ign http://mirrors.163.com lucid-proposed/universe Packages
Ign http://mirrors.163.com lucid-proposed/multiverse Packages
Ign http://mirrors.163.com lucid-proposed/main Sources
Ign http://mirrors.163.com lucid-proposed/restricted Sources
Ign http://mirrors.163.com lucid-proposed/universe Sources
Ign http://mirrors.163.com lucid-proposed/multiverse Sources
Ign http://mirrors.163.com lucid-backports/main Packages
Ign http://mirrors.163.com lucid-backports/restricted Packages
Ign http://mirrors.163.com lucid-backports/universe Packages
Ign http://mirrors.163.com lucid-backports/multiverse Packages
Ign http://mirrors.163.com lucid-backports/main Sources
Ign http://mirrors.163.com lucid-backports/restricted Sources
Ign http://mirrors.163.com lucid-backports/universe Sources
Ign http://mirrors.163.com lucid-backports/multiverse Sources
Err http://mirrors.163.com lucid/main Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/restricted Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/universe Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/multiverse Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/main Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/restricted Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/universe Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid/multiverse Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/main Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/restricted Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/universe Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/multiverse Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/main Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/restricted Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/universe Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-security/multiverse Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/main Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/restricted Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/universe Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/multiverse Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/main Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/restricted Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/universe Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-updates/multiverse Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/main Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/restricted Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/universe Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/multiverse Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/main Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/restricted Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/universe Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-proposed/multiverse Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/main Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/restricted Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/universe Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/multiverse Packages
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/main Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/restricted Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/universe Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
Err http://mirrors.163.com lucid-backports/multiverse Sources
Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]
W: Failed to fetch http://mirrors.163.com/ubuntu/dists/lucid/Release.gpg Could not connect to mirrors.163.com:80 (123.58.173.106). - connect (110: Connection timed out) [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... elease.gpg Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... elease.gpg Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... elease.gpg Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... elease.gpg Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... -en_US.bz2 Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... ackages.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/luc ... Sources.gz Unable to connect to mirrors.163.com:http: [IP: 123.58.173.106 80]

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


最后我在firefox里面输入mirrors.163.com也能访问,能找到相应的目录和下载文件,请问是什么原因造成的update 失败



谢谢大家


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-11 0:49 

注册: 2005-09-13 4:56
帖子: 1131
系统: Ubuntu QQ
送出感谢: 0 次
接收感谢: 47
在终端下echo $http_proxy

看看是不是启用了代理


_________________
添加ppa后只更新此ppa:
update-ppa()
{ sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/$1.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
}
写入~/.bashrc,source一下,就可以直接用,是不是很方便?觉得方便就按个赞。


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-11 15:00 

注册: 2011-06-10 19:28
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
echo $http_proxy出来的结果是空的,我印象中应该是没有设置过代理。不过有一点是,我的主机IE浏览器必须要配置上一个automatic configuration script才可能正常来浏览外网,Internet Options -> Connections -> Lan setting -> 勾选 use automatic cofiguration script. 下面有一个公司给的script地址。我不清楚是不是和这个有关系,如果需要添加到ubuntu中,该如何做?


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-11 15:21 

注册: 2005-09-13 4:56
帖子: 1131
系统: Ubuntu QQ
送出感谢: 0 次
接收感谢: 47
gnome-network-properties

PS,你既然知道你公司网管使用了代理,也知道你的浏览器要设置代理,那你用apt无法连接为啥不想想是代理的问题呢?

用linux出了问题自己多想一下不是更好吗


_________________
添加ppa后只更新此ppa:
update-ppa()
{ sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/$1.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
}
写入~/.bashrc,source一下,就可以直接用,是不是很方便?觉得方便就按个赞。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-11 15:25 

注册: 2011-06-10 19:28
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
to funicorn:
问题的确是代理造成的,我在公司局域网里面打开了那个automatic configuration的脚本,看到里面返回的都是一些proxy的地址,应该是通过他们才能访问外网,我就把其中的一个代理添加到/etc/bash.bashrc 中export http_proxy=http://xxxxx:xx/保存后source 一下就可以啦。感谢你给了我思路:》


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-11 20:25 

注册: 2005-09-13 4:56
帖子: 1131
系统: Ubuntu QQ
送出感谢: 0 次
接收感谢: 47
你这么做也不对,万一你用的代理失效了呢?

我都告诉你了,把代理脚本下载到本地,gnome-network-properties,在里面填上你们公司的那个脚本


_________________
添加ppa后只更新此ppa:
update-ppa()
{ sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/$1.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
}
写入~/.bashrc,source一下,就可以直接用,是不是很方便?觉得方便就按个赞。


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu 10.04.1 lucid 源设置后apt-get update 失败但是可以通过firefox
帖子发表于 : 2011-06-21 15:02 

注册: 2011-06-10 19:28
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
好的,谢谢啦


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译