[Bug 1613639] Re: apt-add-repository exits 0 even if it can't retrieve key
David Britton
david.britton at canonical.com
Mon Feb 27 19:00:08 UTC 2017
** Tags added: landscape
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1613639
Title:
apt-add-repository exits 0 even if it can't retrieve key
Status in software-properties package in Ubuntu:
New
Bug description:
Example command:
$ sudo apt-add-repository -y ppa:ansible/ansible
gpg: keyring `/tmp/tmp_h1uhhzk/secring.gpg' created
gpg: keyring `/tmp/tmp_h1uhhzk/pubring.gpg' created
gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
gpgkeys: key 6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm
$ echo $?
0
The command should exit nonzero if any step was unable to be
completed. Ideally, Ubuntu's keyserver won't fail, but that can't be
helped.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1613639/+subscriptions
More information about the foundations-bugs
mailing list