apt-key with HKP keyserver

466 views
Skip to first unread message

Michael Mahemoff

unread,
Feb 28, 2014, 3:03:05 PM2/28/14
to ansible...@googlegroups.com
I'm trying to follow the instructions for installing MaraDB apt package (https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro_release=precise&version=5.5). It proposes to add a key like this:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

So I tried this in the playbook:

  apt_key: keyserver="hkp://keyserver.ubuntu.com:80" id=0xcbcb082a1bb943db state=present

And got the error "urlopen error unknown url type: hkp". Have I used the right syntax?

Adam Morris

unread,
Mar 1, 2014, 1:10:50 AM3/1/14
to ansible...@googlegroups.com
Yes, you did it right...

But I'd try changing hkp (http keyserver protocol) to http...

I've had similar issues with hkp before.

Adam

Michael Mahemoff

unread,
Mar 1, 2014, 3:58:47 AM3/1/14
to ansible...@googlegroups.com
http doesn't work stderr: gpg: no valid OpenPGP data found."

Maybe I should report it as a bug?

Adrian Simmons

unread,
May 13, 2014, 10:53:38 AM5/13/14
to ansible...@googlegroups.com


On Saturday, 1 March 2014 08:58:47 UTC, Michael Mahemoff wrote:
http doesn't work stderr: gpg: no valid OpenPGP data found."

Did you ever resolve this Michael? Just hit the same OpenPGP error with MariaDB... 

Taylor Brown

unread,
Dec 5, 2014, 11:55:17 AM12/5/14
to ansible...@googlegroups.com
I'm getting the same errors with an hkp server when trying to install rmv's gpg key.
Reply all
Reply to author
Forward
0 new messages