虽然使用了macports,但它突然不能工作,我收到以下错误
Mos-MacBook-Pro:Projects mo$ sudo port -d selfupdate
Warning: port definitions are more than two weeks old, consider using selfupdate
---> Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
@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 '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports" returned error 5
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failedmacports在几个月前还能用,但自从我升级到lion后,它就停了。我不知道这是否与升级有关,今天我试着解决它,但没有在哪里。我想重新安装,但我找不到狮子的dmg在他们的网站(断开链接)。
发布于 2012-05-02 23:14:03
现在,macports的rsync服务器已关闭请参阅https://trac.macports.org/ticket/34298
https://stackoverflow.com/questions/10411978
复制相似问题