Mongodb installation error

Asked

Viewed 47 times

0

I’m having trouble in step 1:

Importe a chave pública usada pelo sistema de gerenciamento de pacotes.

When I execute the command:

sudo apt-key adv --keyserver hkp: //keyserver.ubuntu.com: 80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4

The terminal answers me with:

Executing: /tmp/apt-key-gpghome.XJQ1Kc7e9m/gpg.1.sh --keyserver hkp: //keyserver.ubuntu.com: 80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
gpg: Note: '--recv' is not considered an option
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
usage: gpg [options] [filename]

What could be causing this error ? Linux version: Linux Mint 19.1 Tessa Cinnamon 64bits

  • See if it helps : https://tecadmin.net/install-mongodb-on-ubuntu/

  • I ended up installing outside the terminal, using the package installer, so then tbm did not work

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.