selfupdate failed, help me diagnose the problem

Diego Kuperman diego at
Tue Apr 5 15:41:38 PDT 2011


On 4/5/11 11:39 PM, Fredrik wrote:
> Hello,
> I got this recommendation when searching for a port:
> Warning: port definitions are more than two weeks old, consider using
> selfupdate
> When acting on this suggestion I got this output:
> ---> Updating the ports tree
> Error: Synchronization of the local ports tree failed doing rsync
> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
> ports tree: Synchronization of 1 source(s) failed
> Any ideas where to go from here, to fix this?

I would go with the debug option:

     $ port -d selfupdate

This will show you the rsync commandline where you are probably having 
the real problem so you can debug just that. Are you able of rsync to 
other places?

Hope this helps.


More information about the macports-users mailing list