#16927 closed enhancement (invalid)
rsync failure: no selfupdate possible over a proxy
Reported by: | antonio.cervellino@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | base | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
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 $
Change History (5)
comment:1 follow-up: 3 Changed 16 years ago by afb@…
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Have you tried setting the RSYNC_PROXY environment variable? (See the rsync man page for details.) Note that if you're using 10.5 you'll probably need to edit /etc/sudoers to stop it being purged by sudo. See related ticket #13158.
comment:3 Changed 16 years ago by antonio.cervellino@…
Replying to afb@…:
See http://trac.macports.org/wiki/howto for alternative means like tarball or subversion
It works fine, thanks. I uploaded a script to do the selfupdate by the daily tarball. May I suggest a direct link for the svn method from the main help page?
Have you tried setting the RSYNC_PROXY environment variable? (See the rsync man page for details.) Note that if you're using 10.5 you'll probably need to edit /etc/sudoers to stop it being purged by sudo. See related ticket #13158.
I am now working with svn, I will try that too. Thanks.
comment:4 Changed 16 years ago by raimue (Rainer Müller)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 16 years ago by (none)
Milestone: | Website & Documentation |
---|
Milestone Website & Documentation deleted
See http://trac.macports.org/wiki/howto for alternative means like tarball or subversion