[MacPorts] #16927: rsync failure: no selfupdate possible over a proxy

MacPorts noreply at macports.org
Mon Oct 20 09:03:46 PDT 2008


#16927: rsync failure: no selfupdate possible over a proxy
---------------------------------------+------------------------------------
 Reporter:  antonio.cervellino at psi.ch  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  enhancement                |      Status:  new                                  
 Priority:  High                       |   Milestone:  Website & Documentation              
Component:  base                       |     Version:  1.6.0                                
 Keywords:                             |        Port:                                       
---------------------------------------+------------------------------------
 Hi, I've seen the problem already but no solution. So I'll wrap it up.
 I know it is not technically a bug of MacPorts.
 I copy the listing below just for the record.

 The problem shows up on my office computer. There is a firewall (proxy) in
 place there. At home I get ports working beautifully. At the office, no
 way, it is a lot of time I try.
 Generally I get the apps I want by other methods; however, I'd like to use
 MacPorts.
 Because it is better than whatever else.
 I tried to do whatever is possible in the system preferences to disable
 the firewall. No way. There is only the firewall - no other applications
 like PeerSomething.

 It seems to me that there is no way to use rsync from behind a firewall.
 It fails not only with ports - whatever otehr application uses rsync it
 does not work.
 cvs instead runs smooth. I believe that is because cvs relies on ssh while
 rsync uses lower-level security and our proxy disables it .
 No question of disabling the proxy - our security does not allow.

 == Question: is there that you know any way to '''use macports without
 rsync'''? ==

 == or to set some rsync options so that it may run over a safe-looking
 protocol like ssh, so the proxy won't kick in? ==

 thanks for any suggestion.

 $ sudo port -d selfupdate
 Password:
 DEBUG: Rebuilding the MacPorts base system if needed.
 DEBUG: Synchronizing ports tree(s)
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/ports/
 DEBUG: /usr/bin/rsync -rtzv --delete-after
 rsync://rsync.macports.org/release/ports/
 /opt/local/var/macports/sources/rsync.macports.org/release/ports
 rsync: failed to connect to rsync.macports.org: Operation timed out (60)
 rsync error: error in socket IO (code 10) at
 /SourceCache/rsync/rsync-35.2/rsync/clientserver.c(105) [receiver=2.6.9]
 DEBUG: Couldn't sync the ports tree: Synchronization the local ports tree
 failed doing rsync
     while executing
 "macports::selfupdate [array get global_options]"
 Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
 ports tree: Synchronization the local ports tree failed doing rsync
 $

-- 
Ticket URL: <http://trac.macports.org/ticket/16927>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list