I just tried to reproduce your problem on 10.04 LTS, but couldn't:
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7E7CF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
--secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg
--recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7E7CF
gpg: requesting key 46D7E7CF from hkp server keyserver.ubuntu.com
gpg: key 46D7E7CF: public key "GetDeb Archive Automatic Signing Key
<[email protected]>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
When I change the key to be invalid, I get the information that the key
can't be found:
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7F7CF
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
--secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg
--recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7F7CF
gpg: requesting key 46D7F7CF from hkp server keyserver.ubuntu.com
gpgkeys: key A8A515F046D7F7CF not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
I'll try to reproduce it on Natty soon.
** Changed in: apt (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/736533
Title:
gpg gives bogus, misleading error message
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs