Public bug reported:

In previous versions of dput, the sftp method would use a temporary file
name while uploading. For example:


In bionic with package version 1.0.1ubuntu1, it no longer does this.

I have a remote script that it triggered by a file system watcher that
looks for the creation of a new .changes file. Since the file is created
with this line:

with sftp_client.file(remote_path, "w") as remote_fileobj:

the initial file is empty and as a result, my script sent me this
message from reprepro:

Unexpected empty file 'raspberrypi-firmware_1.20180409-1ev3dev1_armhf.changes'!
There have been errors!

This script was working with previous versions of dput.

** Affects: dput (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  regression: sftp method no longer uses temporary file name during

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to