group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #11527
[Bug 1532855] Re: add-apt-repository exits with 0 even when adding key failed
This bug was fixed in the package software-properties - 0.96.24.11
---------------
software-properties (0.96.24.11) zesty; urgency=medium
[Scott Moser]
* debian/tests/run-tests: use gpg rather than gpg1, and show errors
(LP: #1670399)
* debian/tests/control: add gnupg to list of dependencies.
[Iain Lane]
* softwareproperties/shortcuts.py: Make add_key() return True. Since r988,
the return value of add_key() is now used to raise an exception.
ShortcutHandler.add_key() always succeeds, so should return True. This
(LP: #1670399)
-- Scott Moser <smoser@xxxxxxxxxx> Mon, 06 Mar 2017 12:22:03 -0500
** Changed in: software-properties (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1532855
Title:
add-apt-repository exits with 0 even when adding key failed
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Xenial:
Confirmed
Status in software-properties source package in Yakkety:
Confirmed
Bug description:
add-apt-repository exits happily even if it failed adding the key:
$ sudo env LANGUAGE=en add-apt-repository ppa:launchpad/buildd-staging -k hkp://bad-server/
Buildd staging packages for Launchpad. New packages are staged here for testing on the staging PPA buildds.
More info: https://launchpad.net/~launchpad/+archive/ubuntu/buildd-staging
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp3246v7n8/secring.gpg' created
gpg: keyring `/tmp/tmp3246v7n8/pubring.gpg' created
gpg: requesting key 0A5174AF from hkp server bad-server
?: bad-server: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Success
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver unreachable
gpg: keyserver communications error: public key not found
gpg: keyserver receive failed: public key not found
$ echo $?
0
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: software-properties-common 0.96.17
ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
Uname: Linux 4.3.0-5-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 11 17:17:56 2016
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: Upgraded to xenial on 2015-10-28 (74 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1532855/+subscriptions