uploading fails: Could not write

Asked by MartinL

I am unable to upload source package to UbuntuGIS PPA.

My dput.cf:

"""
[ppa:ubuntugis/ubuntugis-unstable]
fqdn = ppa.launchpad.net
method = sftp
incoming = ppa:ubuntugis/ubuntugis-unstable
login = landa-martin
"""

The command:

$ dput ppa:ubuntugis/ubuntugis-unstable ../grass_7.0.3~rc1-1~exp1~wily1_source.changes

fails with:

Checking signature on .changes
...
Good signature on ../grass_7.0.3~rc1-1~exp1~wily1_source.changes.
Checking signature on .dsc
...
Good signature on ../grass_7.0.3~rc1-1~exp1~wily1.dsc.
Uploading to ppa:ubuntugis/ubuntugis-unstable (via sftp to ppa.launchpad.net):
  grass_7.0.3~rc1-1~exp1~wily1.dsc: done.
  grass_7.0.3~rc1-1~exp1~wily1.debian.tar.xz: done.
  grass_7.0.3~rc1-1~exp1~wily1_source.changes: done.
Could not write
../grass_7.0.3~rc1-1~exp1~wily1_source.ppa:ubuntugis/ubuntugis-unstable.upload

Any idea what is wrong? I am team member [1] and having registered my GPG key at http://keyserver.ubuntu.com and imported in my Launchpad account.

Thanks in advance for any tips. Martin

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
MartinL
Solved:
Last query:
Last reply:
Revision history for this message
MartinL (landa-martin) said :
#1

ah, I found it my dput.cf was wrong. I fix it by

"""
[ubuntugis-unstable]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~ubuntugis/ubuntugis-unstable/ubuntu/
login = landa-martin
allow_unsigned_uploads = 0
"""

Revision history for this message
Colin Watson (cjwatson) said :
#2

I think sftp would have worked fine (and is preferable in various ways). Your problem was just in the host identifier header, which needs to not contain a "/", otherwise dput tries to write to a local directory that doesn't exist.

In other words, all you needed to do was change:

 [ppa:ubuntugis/ubuntugis-unstable]

to:

 [ubuntugis-unstable]

Revision history for this message
MartinL (landa-martin) said :
#3

Thanks for feedback.