+ -
当前位置:首页 → 问答吧 → emerge --sync的问题(Solved)

emerge --sync的问题(Solved)

时间:2007-01-09

来源:互联网

最近在做emerge --sync的时候总是超时。过程如下:

>>> Starting rsync with rsync://209.177.148.226/gentoo-portage...
>>> Checking server timestamp ...
Welcome to cockatoo.gentoo.org

Server Address : 209.117.148.226
Contact Name : [email protected]


Please note: common gentoo-netiquette says you should not sync more
than once a day. Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.


MOTD brought to you by motd-o-matic, version 0.3

receiving file list ... done
timestamp.chk

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 203
Total bytes received: 486

sent 203 bytes received 486 bytes 72.53 bytes/sec
total size is 32 speedup is 0.05
Welcome to cockatoo.gentoo.org

Server Address : 209.117.148.226
Contact Name : [email protected]


Please note: common gentoo-netiquette says you should not sync more
than once a day. Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.


MOTD brought to you by motd-o-matic, version 0.3

receiving file list ...

OK。可以看出来网络速度是还可以接收的,但是到了这一步就会等待很长时间,然后提示

io timeout after 180 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(165) [receiver=2.6.9]

我起初怀疑是台湾地震的原因,但是取得开始几个文件的速度还是挺快的,并且似乎在地震之前就已经有这个问题了,只是现在特别严重了。

请各位帮忙诊断一下,谢谢!

作者: flyingpig   发布时间: 2007-01-09

自己又仔细的man了一下make.conf,发现原来还有SYNC这个变量控制rsync的目的地址。

默认的地址估计是太慢了,换了之后就OK了。

作者: flyingpig   发布时间: 2007-01-10