Package: duplicity Version: 0.4.2-2+sftp+amazons3+compression Severity: serious
bckends.py contains this line: commandline = ("echo -e 'cd %s\nls -1' | %s -b - %s" % echo -e is a bashism. When run on a system where /bin/sh -> dash, this results in: [EMAIL PROTECTED]:/usr/lib/python2.3/site-packages/duplicity>duplicity -v9 --scp-command 'scp ' --ssh-command 'ssh ' --encrypt-key 146B71F8 --sign-key 146B71F8 --remove-older-than 60D --include '/etc' --exclude '**' / scp://[EMAIL PROTECTED]//home/joey/lib/backup/kite/etc Main action: inc Reading results of 'echo -e 'cd /home/joey/lib/backup/kite/etc ls -1' | sftp -b - [EMAIL PROTECTED]' Invalid command. And duplicity does full backups over and over (which can be really bad behavior if you're set up for incrementals). Fix is simple, just replace the "echo -e" with a "printf". (It might also be nice to check for read errors from the popen.) -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.4.27-2-686-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages duplicity depends on: ii gnupg 1.4.3-1 GNU privacy guard - a free PGP rep ii libc6 2.3.6-15 GNU C Library: Shared libraries ii librsync1 0.9.7-1 Library which implements the rsync ii python 2.3.5-10 An interactive high-level object-o ii python-gnupginterface 0.3.2-9 Python interface to GnuPG (GPG) duplicity recommends no packages. -- no debconf information -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]