Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running the Debian mirror syncing tool 'ftpsync' on a FreeBSD 8.2 system. I changed the script a bit only to adapt to the FreeBSD system (e.g., path of bash). And I followed the steps from to setup the mirror site.

The script is put in the cron job and will be run everyday. From time to time, I see the following error message in the log files which looks like:

file has vanished: "/pool/main/g/gcc-snapshot/.gcc-snapshot_20120625-1_s390x.deb.1cqlSA" (in debian)
rsync warning: some files vanished before they could be transferred (code 24) at main.c(1518) [generator=3.0.9]

If this error occurs, two files starting with 'Archive-Update-in-Progress-' and 'Archive-Update-Required' will appear in the mirror repository. It seems that some files have been updated during the syncing from the upstream. If I run the 'ftpsync' script again by hand, both files will disappear and the issue will be resolved.

Do you have any idea on how to get rid of this problem other than running the script again manually? Thanks.

share|improve this question

You could wrap ftpsync in a shellscript like this:

while [ -f /pool/main/Archive-Update-In-Progress ]; do
   sleep 600

This will update the repo until the Archive-Update on the other side is done.

share|improve this answer

As far as I know: You can't! Only if you know what these files look like, you will be able to exclude them from the rsync call.

It seems that those files are temporary ones and disappear during the file transfer.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.