rsync operation timed out (was: Re: Help)

Ryan Schmidt ryandesign at
Sat Sep 17 06:57:50 PDT 2011

On Sep 17, 2011, at 07:28, Jean-Francois Gobin wrote:
> On Sat, Sep 17, 2011 at 7:00 AM, jarode zago wrote:
>> Hi Every one, after having  installed macports 2.03 on Lion  with Xcode 4.1, the command sudo port -v selfupdate failed, and i cannot not install anything…
>> the output of the previews command is:
>> Warning: No index(es) found! Have you synced your source indexes?
>> --->  Updating MacPorts base sources using rsync
>> rsync: failed to connect to 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:// /opt/local/var/macports/sources/" returned error 10
>> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)
> The timeout leads me to think that something on your network is blocking the tcp connection to the server.

I agree. Looks like you cannot use rsync on your network. In which case you will have to configure MacPorts to use either http or svn to download your ports tree. See the how-to section in the wiki for instructions.

More information about the macports-users mailing list