rsync failed

Marc Chantreux marc.chantreux at biblibre.com
Fri Nov 7 16:32:20 PST 2008


hello everybody, 

I'm trying to do a macport install behind a firewall that is blocking
rsync. I decided to create an ssh tunnel to do it.

$ grep ^rsync /opt/local/etc/macports/sources.conf 
rsync://localhost/release/ports/

local rsync port is forwarded so i tried to selfupdate. as you can see
at line 19, something, somewhere, kept the real name of the rsync server
so the connection failed.

does someone knows a workaround ? 
regards

     1	root# port -ds selfupdate
     2	DEBUG: Rebuilding the MacPorts base system if needed.
     3	DEBUG: Synchronizing ports tree(s)
     4	DEBUG: Skipping file:///Users/admin/kohaports/
     5	Synchronizing local ports tree from rsync://localhost/release/ports/
     6	DEBUG: /usr/bin/rsync -rtzv --delete-after
     7	rsync://localhost/release/ports/
     8	/opt/local/var/macports/sources/localhost/release/ports
     9	receiving file list ... done
    10	
    11	sent 36 bytes  received 336559 bytes  96170.00 bytes/sec
    12	total size is 19843065  speedup is 58.95
    13	DEBUG: MacPorts base dir:
    14	/opt/local/var/macports/sources/rsync.macports.org/release/base
    15	DEBUG: Setting user: root
    16	
    17	MacPorts base version 1.600 installed
    18	DEBUG: Updating using rsync
    19	rsync: failed to connect to rsync.macports.org: Operation timed out (60)
    20	rsync error: error in socket IO (code 10) at
    21	/SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9]
    22	DEBUG: Error: rsync failed in selfupdate
    23	    while executing
    24	    "macports::selfupdate [array get global_options]"


More information about the macports-users mailing list