Installed macports what to do next
Ryan Schmidt
ryandesign at macports.org
Thu Aug 25 13:53:16 PDT 2011
On Aug 25, 2011, at 15:48, james collins wrote:
> Here is what I got from terminal:
>
> sudo port -v selfupdate
>
> ----> 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]
> shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 10
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)
"sudo port selfupdate" will not work on your network because rsync does not work on your network.
"selfupdate" first updates MacPorts base, then, if there were no errors, updates the ports tree. Updating MacPorts base always happens over rsync; there is no option to make this happen over any other protocol. Updating MacPorts base will therefore fail, and selfupdate won't continue to sync your ports.
So until the rsync issue on your network is fixed, don't run "sudo port selfupdate". Run "sudo port sync" instead.
More information about the macports-users
mailing list