Upload to ppa rejected (signer has no right) but gpg is correct

Asked by Arnaud Soyez

Hi,
I used to upload to my ppa without problems, except today. My upload got rejected almost instantly.

Note that Arnaud Soyez <weboide@.....> and Weboide <weboide@.....> are the same GPG key, just an alias.

Here's what I received by mail:

Rejected:
Signer has no upload rights at all to this distribution.
Not permitted to upload to the RELEASE pocket in a series in the 'CURRENT' state.

usbgrubupdaterx (0.1-0ubuntu1~ppa1) intrepid; urgency=low

  * Initial release

Date: Mon, 15 Dec 2008 15:15:14 -0500
Changed-By: Arnaud Soyez <weboide@.....>
Signed-By: Weboide <weboide@........>

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Celso Providelo
Solved:
Last query:
Last reply:
Revision history for this message
Best Celso Providelo (cprov) said :
#1

Please, fix your dput configuration (or be sure you are using the PPA target). Your upload is being rejected because it's targeted to the ubuntu primary archive.

Revision history for this message
Arnaud Soyez (weboide) said :
#2

Thanks.

I solved this using my own ~/.dput.cf . I was using the system-wide dput.cf but the settings in /etc/dput.cf about the ppa were the same I put into the ~/.dput.cf.

So this must be the /etc/dput.cf that had conflicting settings.

Go figure...

Revision history for this message
Arnaud Soyez (weboide) said :
#3

Thanks Celso Providelo, that solved my question.

Revision history for this message
Brian Fallik (bfallik-litl) said :
#4

This answer doesn't quite help me. Which settings were required in dput.cfg in order to set the proper target? I've checked /etc/dput.cf, ~/.dput.cf, and man dput.cf and see no mention of this field.

My dput and ppa combination have worked in the past, but I just tried uploading and hit the same rejection as described in this question.

Any suggestions? The error msg is pretty opaque to me.

Revision history for this message
Arnaud Soyez (weboide) said :
#5

here's my ~/.dput.cf :

[myppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~weboide/ubuntu/
login = anonymous
allow_unsigned_uploads = 0

I just created the file with these options and (I think) it fixed the problem.
Hope this helps.

Revision history for this message
Arnaud Soyez (weboide) said :
#6

and i use dput mostly like that:

dput myppa package_0.1-0ubuntu1~ppa0.changes

Revision history for this message
Brian Fallik (bfallik-litl) said :
#7

Hmm. That exactly matches my ~/.dput.cf except for the username. I wonder what else could be different? I'm using dput 0.9.2.30ubuntu1.

Revision history for this message
Arnaud Soyez (weboide) said :
#8

I've got dput 0.9.2.34ubuntu1.

Revision history for this message
Brian Fallik (bfallik-litl) said :
#9

Intrepid? I'm on hardy.

On Tue, Dec 30, 2008 at 10:23 AM, Arnaud Weboide Soyez
<email address hidden> wrote:
> Question #54679 on Soyuz changed:
> https://answers.launchpad.net/soyuz/+question/54679
>
> Arnaud "Weboide" Soyez posted a new comment:
> I've got dput 0.9.2.34ubuntu1.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Arnaud Soyez (weboide) said :
#10

Yeah. I'm using intrepid.

Revision history for this message
Julian Edwards (julian-edwards) said :
#11

If you get this particular rejection ("Signer has no upload rights at all to this distribution") you are trying to upload to Ubuntu instead of a PPA. This is usually caused by a bad dput.cf or you forgot to specify the dput.cf section on the command line.

Revision history for this message
Brian Fallik (bfallik-litl) said :
#12

Odd. I didn't change anything but it was accepted. Oh well.

Revision history for this message
kovax (kovax3) said :
#13

ere's my ~/.dput.cf : or sudo gedit /etc/dput.cf
creat this
[myppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~weboide/ubuntu/
login = anonymous
allow_unsigned_uploads = 0
----------------------
and use
**dir wen your *_source.changes
$ dput -c /etc/dput.cf myppa *_source.changes

Revision history for this message
LiJinghang (lijinghang) said :
#14

But I wonder where I should put the ~/.dput.cf in?
Should I put it in the debian document?

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

Certainly not. The "~/" notation in ~/.dput.cf means a file in your home directory.