[dput-ng-maint] Bug#796868: dput-ng: Missing Recommends on python-paramiko causes error with scp uploads
Luca Capello
luca.capello at infomaniak.com
Wed Jun 1 15:31:25 UTC 2016
user luca.capello at infomaniak.com
usertag 796868 + infomaniak.com-packaging
thanks
Hi there!
On Tue, 25 Aug 2015 08:23:15 +0100, Neil Williams wrote:
> Installing python-paramiko fixes the problem, allowing the simulation to complete.
FYI, this "Recommends:" is only visible via the following chain:
=====
$ dpkg-query -s dput-ng | grep python-dput
Depends: python:any, python-dput (= 1.8)
$ dpkg-query -s python-dput | grep python-paramiko
Recommends: lintian, python-distro-info, python-paramiko, python-validictory, openssh-client, debian-keyring
$
=====
There is no other information, so something should be added at least in
the manpage, here instead a full patch:
--8<---------------cut here---------------start------------->8---
From 89e1c41953d56a00a05184801fffa112301d9ef8 Mon Sep 17 00:00:00 2001
From: Luca Capello <luca.capello at infomaniak.com>
Date: Wed, 1 Jun 2016 17:28:58 +0200
Subject: [PATCH] docs/man/dput5.man: (#796868) python-paramiko for scp/sftp
---
debian/changelog | 7 ++++++-
debian/control | 4 +++-
docs/man/dput.5.man | 7 ++++---
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 051c1a7..08e5c6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
dput-ng (1.11) UNRELEASED; urgency=medium
+ [ Vincent Bernat ]
* Add {wheezy,squeeze}-backports-sloppy suites. (Closes: #798688)
- -- Vincent Bernat <bernat at debian.org> Sun, 11 Oct 2015 09:29:11 +0200
+ [ Luca Capello ]
+ * debian/control, docs/man/dput.5.man:
+ + python-paramiko is required for scp/sftp methods (Closes: #796868).
+
+ -- Luca Capello <luca.capello at infomaniak.com> Wed, 01 Jun 2016 17:22:32 +0200
dput-ng (1.10) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index da441e5..5873788 100644
--- a/debian/control
+++ b/debian/control
@@ -33,7 +33,7 @@ Conflicts: dput
Replaces: dput
Provides: dput
Depends: ${misc:Depends}, ${python:Depends}, python-dput (= ${binary:Version})
-Recommends: bash-completion
+Recommends: bash-completion, python-paramiko
Description: next generation Debian package upload tool
dput-ng is a Debian package upload tool which provides an easy to use
interface to Debian (like) package archive hosting facilities. It allows
@@ -47,6 +47,8 @@ Description: next generation Debian package upload tool
.
dput-ng aims to be backwards compatible with dput in command-line flags,
configuration files, and expected behavior.
+ .
+ The recommended package python-paramiko is needed to upload via SSH.
Package: python-dput
Architecture: all
diff --git a/docs/man/dput.5.man b/docs/man/dput.5.man
index 482c870..d7158db 100644
--- a/docs/man/dput.5.man
+++ b/docs/man/dput.5.man
@@ -182,9 +182,10 @@ are supported:
* 'http' or 'https':: Use HTTP or HTTPS to upload files
* 'local':: Upload to a locally mounted location of the file system.
Internally this calls *install(1)*.
- * 'scp':: Use scp to upload files. *This method is deprecated*, use 'sftp'
- instead when possible.
- * 'sftp':: Use the sftp protocol (a secured file transfer via SSH).
+ * 'scp':: Use scp to upload files (it requires python-paramiko).
+ This method is deprecated*, use 'sftp' instead when possible.
+ * 'sftp':: Use the sftp protocol (a secured file transfer via
+ SSH, it requires python-paramiko).
* *dput-ng* does not support 'rsync'.
--
2.1.4
--8<---------------cut here---------------end--------------->8---
Thx, bye,
Gismo / Luca
--
Luca Capello
Administrateur GNU/Linux
Infomaniak Network SA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/dput-ng-maint/attachments/20160601/20b91fef/attachment.sig>
More information about the dput-ng-maint
mailing list