selfupdate が失敗する
1 週間くらい前から MacPorts が更新できない。
$ sudo port -v selfupdate Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ receiving file list ... done ./ perl/p5-cam-pdf/ python/ ruby/ science/ sysutils/ .... zope/zope-zphotoslides/files/ zope/zope-zsyncer/ rsync: connection unexpectedly closed (306957 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-30/rsync/io.c(359) Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync
なんでやねん。
proxy とかないねんけど。
ピンときたので、sudo port install rsync
してみた。
$ /usr/bin/rsync --version rsync version 2.6.3 protocol version 28 .... $ /opt/local/bin/rsync --version rsync version 3.0.2 protocol version 30 ....
これで、ちゃんと selfupdate できるようになった。
めでたし、めでたし。