【发布时间】:2012-07-11 21:55:15
【问题描述】:
我正在尝试selfupdate 我的 Macports,但收到以下消息:
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
MacPorts sources: command execution failed
我检查了我的/opt/local/bin/macports,但该目录不存在。相反,它位于/opt/local/var。会不会是这个问题?
使用-dt 运行,我得到以下信息:
[Users/user] > selfupdate
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
---> Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Connection refused (61)
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/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
什么是错误 61?有什么想法可以解决这个问题吗?
【问题讨论】:
-
你在防火墙后面吗? here 与您的问题类似。
-
啊,我记得...我曾经也遇到过。 Olwaro 链接后面的跟踪票包含a link to the macports FAQ。当时正在搜索年龄... ty 和 +1!
标签: macports