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

时间:2013-07-01 17:36:13

标签: macports

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

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

1 个答案:

答案 0 :(得分:0)

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

删除旧端口文件,upzip ports.tar.gz