Public bug reported: 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. ** Affects: software-properties (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp