Description of problem: Upgrading to the recently released 0.4.2-5.fc6 breaks sftp support. The error reported is: sftp: illegal option -- p The command duplicity is calling is: 'echo -e 'cd dir/ ls -1' | sftp -p 22 -b - sitename' Version-Release number of selected component (if applicable): 0.4.2-5.fc6 How reproducible: Try any sftp based backup. Additional info: I haven't tested this particularly thoroughly. I downgraded to the previous release (0.4.2-3.fc6) and it works again. I left it at that.
Created attachment 144094 [details] /usr/lib/python2.X/site-packages/duplicity/backends.py
Can you please try to replace your "/usr/lib/python2.4/site-packages/duplicity/ backends.py" file by the attachment above and re-try to see whether the problem is solved? Please note, that duplicity the first time should be executed as root to re-generate the backends.pyc and backends.pyo files caused by my change. Could you also tell me the command how are you calling duplicity itself? I never used the sftp support and so I'm ending up in: Unknown protocol 'sftp' :(
Comment on attachment 144094 [details] /usr/lib/python2.X/site-packages/duplicity/backends.py Ush...please ignore what I wrote, the whole patch is heavily broken, even if the original idea of the author was very good.
Your problem should disappear in 0.4.2-6 again...sorry!
Great, thanks for the super swift response, I'll hold off upgrading till I see 0.4.2-6 pop up in the repo... :)