[MDEV-13493] cannot get keyserveur (MariaDB 10.2 on Dedian 9.1) Created: 2017-08-10  Updated: 2017-08-30  Resolved: 2017-08-30

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Aurélien LEQUOY Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None


 Description   

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8

return

Executing: /tmp/apt-key-gpghome.hZirMPPltI/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.hZirMPPltI/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr



 Comments   
Comment by Aurélien LEQUOY [ 2017-08-10 ]

it's happen with : apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8

too, in fact all publickey affected with APT (it seem). 10.1 affected too

Comment by Elena Stepanova [ 2017-08-10 ]

Seems to work for me (on 9.0):

$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
Executing: /tmp/apt-key-gpghome.iBIC6CViYQ/gpg.1.sh --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
gpg: key F1656F24C74CD1D8: "MariaDB Signing Key <signing-key@mariadb.org>" 1 new signature
gpg: Total number processed: 1
gpg:         new signatures: 1

Comment by Aurélien LEQUOY [ 2017-08-10 ]

same keys work with ubuntu 16.04, debian 8.x but with debian 9.1 nothing works :S sth strange !

Comment by Aurélien LEQUOY [ 2017-08-10 ]

work around : wget O "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xF1656F24C74CD1D8" | apt-key add -

Comment by Daniel Bartholomew [ 2017-08-26 ]

From the error message, it simply looks like dirmngr is not installed. Probably should add that package to the install instructions.

Comment by Daniel Bartholomew [ 2017-08-30 ]

I've updated the instructions on https://downloads.mariadb.org/mariadb/repositories/ to include installing dirmngr before adding the key. I also added a note to https://mariadb.com/kb/en/installing-mariadb-deb-files/ about it. AFAICT this is now fixed.

Generated at Thu Feb 08 08:06:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.