なんだこれは

はてなダイアリーから移転しました。

port日記:rsync and distfiles server is down

macportsの更新に失敗した。

要約、sudo port syncが失敗するのは、macportsrsyncサーバーが落ちてるから。今週は無理かも。svnさーばーはOK


こんなことは初めてだ。このコマンドで、

sudo port -d sync

こんなエラーが返る。

DEBUG: Copying /Users/fu7mu4/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at /SourceCache/rsync/rsync-42/rsync/main.c(1398) [receiver=2.6.9]
shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/ports.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 5
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Synchronization of 1 source(s) failed
while executing
"mportsync [array get global_options]"
port sync failed: Synchronization of 1 source(s) failed

よくわからないので、いっこいっこ調べていくと、rsyncで失敗している。

で、このrsyncのerrorメッセージでぐぐってみると、これがヒットする。
どうも、rsyncサーバーがだめらしい。で、そのまま待ってろって。

The distfiles server is down too (same server), and our usual administrator is unavailable this week. We've notified the temporary administrator. Please just wait for it to be fixed. Thanks.

rsyncのミラーは利用できる。という方もいたが。

There are several rsync Mirrors available too.

しかし、メインサーバーがダウンしてしばらくすると、ミラーサーバーもデータが古くなるからだめだってさ。代りにsvnは生きてるらしい。

But if the main rsync server is down, the mirrors won't be any more up to date than when the main rsync server went down (and probably several hours more out of date than that). The svn server is completely up to date, on the other hand.