Comment 0 for bug 1896251

Revision history for this message
Mikko Rantalainen (mira) wrote :

Running

   rsync --delete-missing-args --files-from=...

fails with error message like

ABORTING due to invalid path from sender: dir1/dir2/dir3
rsync error: protocol incompatibility (code 2) at generator.c(1271) [generator=3.1.2]

if the listed directories are trying to delete full subtree of files.

According to https://bugzilla.samba.org/show_bug.cgi?id=12569 this has been fixed in version 3.2.2.

See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863334

Could you update the rsync package or backport the fix?

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: rsync 3.1.2-2.1ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-47.51~18.04.1-lowlatency 5.4.55
Uname: Linux 5.4.0-47-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Sep 18 18:27:53 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (621 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: rsync
UpgradeStatus: No upgrade log present (probably fresh install)