[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help for: rsync error: partial transfer (code 23) at main.c(578)



Hi all-

I'm using rsync in a cron job to back up my main debian partition. It looks like this:

rsync -avrx // /backroot/

(where / is /dev/hde1 and /backroot is hdg1).

When I run the cron job, I get:

...
delete_file: rmdir(usr/share/doc/ncurses-base) : Directory not empty
rsync: symlink "usr/share/doc/ncurses-base" -> "libncurses5": File exists
delete_file: rmdir(usr/share/doc/ncurses-bin) : Directory not empty
rsync: symlink "usr/share/doc/ncurses-bin" -> "libncurses5": File exists
delete_file: rmdir(usr/share/doc/ncurses-term) : Directory not empty
rsync: symlink "usr/share/doc/ncurses-term" -> "libncurses5": File exists
...
rsync error: partial transfer (code 23) at main.c(578)
...

Can anyone explain what code 23 really means (it isn't in the man page) and why the comparatively simple structure of /usr/share/doc/ncurses-* seems to trigger it? From looking at the destination (/backroot) it appears that all that happened is that a bunch of directories turned into a bunch of links... seems like rsync should be able to handle that. This is what is in /backroot:

ls -al /backroot/usr/share/doc/ncurses-*
/backroot/usr/share/doc/ncurses-base:
total 120
drwxr-xr-x    2 root     root         4096 Feb 17 06:22 .
drwxr-xr-x  278 root     root         8192 Mar 17 14:50 ..
-rw-r--r-- 1 root root 6896 Jan 25 10:28 changelog.Debian.gz
-rw-r--r--    1 root     root        92500 Jan 16 19:14 changelog.gz
-rw-r--r--    1 root     root         3205 Jan 16 19:19 copyright

/backroot/usr/share/doc/ncurses-bin:
total 120
drwxr-xr-x    2 root     root         4096 Feb 17 06:22 .
drwxr-xr-x  278 root     root         8192 Mar 17 14:50 ..
-rw-r--r-- 1 root root 6896 Jan 25 10:28 changelog.Debian.gz
-rw-r--r--    1 root     root        92500 Jan 16 19:14 changelog.gz
-rw-r--r--    1 root     root         3205 Jan 16 19:19 copyright

/backroot/usr/share/doc/ncurses-term:
total 120
drwxr-xr-x    2 root     root         4096 Feb 17 06:23 .
drwxr-xr-x  278 root     root         8192 Mar 17 14:50 ..
-rw-r--r-- 1 root root 6896 Jan 25 10:28 changelog.Debian.gz
-rw-r--r--    1 root     root        92500 Jan 16 19:14 changelog.gz
-rw-r--r--    1 root     root         3205 Jan 16 19:19 copyright
areaj:~/logs# ls -al /backroot/usr/share/doc/libncurses5/
FAQ README.Debian changelog.Debian.gz changelog.gz copyright

Any help greatly appreciated.

//Thomas
Thomas K. Burkholder


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: