Issue with MongoDB Community Edition installation [closed]
Asked Answered
R

0

6

I am trying to install MongoDB by following the official documentation. I am using Ubuntu 22.04.2 LTS.

According to the documentation, the following command is supposed to return OK but I'm getting the following when I run curl -fsSL https://pgp.mongodb.com/server-6.0.pub | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg:

gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa4096 2022-02-23 [SC] [expires: 2027-02-22]
      39BD841E4BE5FB195A65400E6A26B1AE64C3C388
uid           MongoDB 6.0 Release Signing Key <[email protected]>

I have read the official troublshooting guide but I couldn't find anything related to my issue.

Ricoricochet answered 7/4, 2023 at 18:29 Comment(3)
I used this instead from the older installation instructions, which does respond with an OK. Not sure if this is still the way it should be done though, but it did work! wget -qO - mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -Candra
Due to the stupid rules and gatekeepers here, I have to post this answer in the comments :) Try this my brother: curl -fsSL https://pgp.mongodb.com/server-6.0.pub | sudo gpg --dearmour -o /usr/share/keyrings/mongodb-server-6.0.gpgPaddle
Thanks @a20, I was having the same issue. It worked with --dearmourDisembowel

© 2022 - 2024 — McMap. All rights reserved.