Hi @ali.molaei I can confirm the problem reported by @dfjigdfijgojio The solution in the @ivansaul comment don't work. If we run
gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 --recv 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2
We get
gpg: keyserver receive failed: Server indicated a failure
The solution that I found was to download the public key directly from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 and run (from the folder where I downloaded the key):
gpg --import [KEY FILE NAME]
I found the problem. The problem for me was because I installed openresolv instead systemd-resolved. After install systemd-resolved (and removed openresolv) and restarted my PC, I was able to import the keys "automatically".
Pinned Comments
DenysMb commented on 2021-01-04 03:37
Hi @ali.molaei I can confirm the problem reported by @dfjigdfijgojio The solution in the @ivansaul comment don't work. If we run
We get
The solution that I found was to download the public key directly from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 and run (from the folder where I downloaded the key):
I found the problem. The problem for me was because I installed openresolv instead systemd-resolved. After install systemd-resolved (and removed openresolv) and restarted my PC, I was able to import the keys "automatically".
ivansaul commented on 2020-08-20 20:57
Hi. If you are getting PGP key importing error, like this. Follow these instructions that I wrote on my blog. https://app.gitbook.com/@ivansaul/s/blog/how-to-install-mongodb-on-arch-linux
ali.molaei commented on 2019-02-14 15:58
As I said, mongodb general Linux release didn't support SSL, and Also, they will not exist after version 4.2 https://www.mongodb.com/blog/post/a-proposal-to-endoflife-our-generic-linux-tar-packages So, I changed my mind about using them and will use ubuntu xenial binaries from http://repo.mongodb.org/apt/ubuntu/dists/xenial/ for now, as they have SSL support, maybe there will be an official Arch Linux repo of mongodb one day :)
I also separated -tools package and now there will be a mongodb-tools-bin package
There is only one problem and that is the mongoreplay binary is not exists in -tools packages of mongodb-org repo of any distro!
I filed a bug here about it, and maybe it will be added soon. https://jira.mongodb.org/browse/TOOLS-2220