sudo port selfupdate永远不会成功

时间:2015-10-29 14:41:41

标签: macports

我正在尝试这样做:

sudo port install nautilus

但它告诉我

Error: Port nautilus not found

尽管鹦鹉螺显然在MacPorts上:http://rsync.macports.org/nautilus/。所以,我试图这样做:

sudo port -d selfupdate

我得到了这个:

DEBUG: Copying /Users/BL185083/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  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-45/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
DEBUG: Error synchronizing MacPorts sources: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

我检查确保防火墙已关闭:

The Mac OS 'Security & Privacy' preference pane, on the 'Firewall' tab, indicating it's off.

所以... 为什么我不能使用MacPorts?

0 个答案:

没有答案