0

Macport 自我更新失败山狮。早些时候它工作正常。

--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

它似乎超时,但互联网连接运行良好。

4

1 回答 1

0
wget https://distfiles.macports.org/ports.tar.gz
cp  ports.tar.gz /opt/local/var/macports/sources/distfiles.macports.org/

删除旧的ports文件,解压ports.tar.gz

于 2016-09-18T19:19:23.490 回答