[backportpackage] Provide better error message if GPG key is not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ backportpackage -u ppa:techtonik/
...
dpkg-buildpackage: full upload (original source is included)
signfile mercurial_
gpg: skipped "anatoly techtonik <techtonik@UBiX>": secret key not available
gpg: /tmp/debsign.
debsign: gpg error occurred! Aborting....
backportpackage: Error: debsign returned 2.
It is not clear what to do after this message. The problem is that GPG constructs the name as login@HOST instead of using my <email address hidden>
credentials.
It would be much more friendly if backportpackage proposed to check
your name and email on design 2 error.
description: | updated |
description: | updated |
summary: |
- [backportpackage] Error: debsign returned 2. Now what? + [backportpackage] Provide better error message if GPG key is not found |
The hack/workaround to pass this (found after 7 hours) is to supply UBUMAIL in command line:
$ UBUMAIL=`bzr whoami` ./backportpackage -u ppa:techtonik/ backports -s vivid -d trusty mercurial
Not a really pleasant user experience.