port sync, selfupdate stalls

Steve Trutane trutane at mac.com
Tue Oct 24 12:16:59 PDT 2006


My attempts to sync or selfupdate currently hang:

% sudo port -d -v sync
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done
www/mod_perl2/
deleting www/mod_perl2/work

sent 77 bytes  received 216774 bytes  25511.88 bytes/sec
total size is 13508955  speedup is 62.30
....(hangs)

Curiously, I see these two rsync commands in the process list, which  
persist indefinitely until I ctrl-c out of the port command:

root     20368   0.0  0.1    28364   1248  p1  S+   11:17AM    
0:00.32 /usr/bin/rsync -rtzv --delete-after --delete rsync:// 
rsync.darwinports.org/dpupdate/dports/ /opt/local/var/db/dports/ 
sources/rsync.rsync.darwinports.org_dpupdate_dports
root     20369   0.0  0.1    28364   1092  p1  S+   11:17AM    
0:00.73 /usr/bin/rsync -rtzv --delete-after --delete rsync:// 
rsync.darwinports.org/dpupdate/dports/ /opt/local/var/db/dports/ 
sources/rsync.rsync.darwinports.org_dpupdate_dports

I verified that there is only one running invocation of port sync.

I tried running the rsync command myself with a separate destination  
directory. It downloads the ports fine and terminates normally. It  
just seems to hang when run from within the port sync command.

Running selfupdate results in the same two rsync processes appearing  
and the consequent hanging of the port command:

% sudo port -d -v selfupdate
DEBUG: Rebuilding the MacPorts base system if needed.
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done

sent 77 bytes  received 216774 bytes  33361.69 bytes/sec
total size is 13508955  speedup is 62.30
....(hangs)


Steve




More information about the macports-users mailing list