Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
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. – ALJI Mohamed Dec 19 '12 at 12:43
can you run port -d sync sync in debug mode and see what it does ? – ALJI Mohamed Dec 19 '12 at 12:45

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

share|improve this answer

You must log in to answer this question.