Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
macbookpro:~ eistrati$ port -v
MacPorts 2.1.2

macbookpro:~ eistrati$ xcodebuild -version
Xcode 4.5.2
Build version 4G2008a

macbookpro:~ eistrati$ sudo port -d selfupdate
DEBUG: Copying /Users/eistrati/Library/Preferences/ to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to 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:// /opt/local/var/macports/sources/
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

Ideas? Please help!

share|improve this question

migrated from Dec 15 '12 at 9:34

This question came from our site for professional and enthusiast programmers.

Same issue as this? – scorpiodawg Dec 14 '12 at 22:54
No, I've checked that post and nothing related – eistrati Dec 15 '12 at 0:24
Perhaps it was a temporary problem on the server side. – Ojiryx Dec 19 '12 at 12:43
can you run port -d sync sync in debug mode and see what it does ? – Ojiryx Dec 19 '12 at 12:45

1 Answer 1

Are you sure you're not behind a firewall? Have you read ?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.