macos – selfupdate macports无效

突然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) failed

几个月前macports用来工作,但自从我升级到狮子后它停止了.我不知道它是否与升级有关,今天我试图对其进行故障排除但是没有在哪里.我想重新安装,但我在他们的网站上找不到狮子dmg(断开的链接).

最佳答案 现在,macports的rsync服务器已关闭,请参阅
https://trac.macports.org/ticket/34298

点赞