Hi, Using "--delete-after" does not work with 2.6.3pre1 (sender, Fedora Core 2) and 2.5.7 (receiver, Red Hat Enterprise Linux 3):> building file list ... > 3288 files to consider > skipping non-regular file "" > Invalid file index 1879320506 in recv_files (count=1) > rsync error: protocol incompatibility (code 2) at receiver.c(345) > rsync: connection unexpectedly closed (28680 bytes read so far) > rsync: connection unexpectedly closed (28680 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(150) > rsync: connection unexpectedly closed (12 bytes received so far) [sender] > rsync error: error in rsync protocol data stream (code 12) at io.c(359)I have also tried to create a small testcase, but then rsync hangs without doing anything. Nevertheless "--delete" works. When changing roles (sender: RHEL3 with rsync-2.5.7, receiver: FC2 with rsync-2.6.3pre1) there are no problems. With rsync-2.6.2 (on Fedora Core 2) everything is OK. Regards, Stefan
On Fri, Sep 03, 2004 at 11:06:30AM +0200, Stefan Hoelldampf wrote:> Using "--delete-after" does not work with > 2.6.3pre1 (sender, Fedora Core 2) and > 2.5.7 (receiver, Red Hat Enterprise Linux 3):I've run this combination of rsync versions without any problems (though my copy went from Debian to RH 9). It would help if you could narrow the problem down somehow. Perhaps you could try running it under valgrind and see if it generates an error? (I've done this, and it runs with very decent alicrity). Also, it's always helpful to mention the command-line you're running, just in case that has some effect on the failure. ..wayne..