rsync readlink failed invalid argument?

Kevin Ballard eridius at
Wed Dec 13 12:35:14 PST 2006

That's interesting. It looks like rsync is complaining because you  
have a work directory in your MailtoMutt folder. However, doing a  
selfupdate should blow away the work directory.

Try doing a `sudo port clean MailtoMutt` and selfupdating again. See  
if that fixes it.

On Dec 13, 2006, at 3:06 PM, Kendall Shaw wrote:

> I thought I'd check again. Does anyone know what this problem is,  
> or how to avoid it?
> Kendall Shaw wrote:
>> I have macports 1.320. When I self port -d selfupdate it prints:
>> DEBUG: Rebuilding the MacPorts base system if needed.
>> Synchronizing from rsync://
>> receiving file list ... done
>> rsync: readlink "/opt/local/var/db/dports/sources/ 
>> rsync.rsync.darwinports.org_dpupdate_dports/aqua/MailtoMutt/work"  
>> failed: Invalid argument (22)
>> rsync: readlink "/opt/local/var/db/dports/sources/ 
>> rsync.rsync.darwinports.org_dpupdate_dports/aqua/MenuMeters/work"  
>> failed: Invalid argument (22)
>> ...
>> rsync error: some files could not be transferred (code 23) at / 
>> SourceCache/rsync/rsync-24/rsync/main.c(1161)
>> DEBUG: Couldn't sync dports tree: sync failed doing rsync
>>     while executing
>> "darwinports::selfupdate [array get global_options]"
>> Error: /opt/local/bin/port: selfupdate failed: Couldn't sync  
>> dports tree: sync failed doing rsync
>> Do you know what that means or how to make it stop failing?

Kevin Ballard
eridius at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the macports-users mailing list