Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Unable to install Community Edition on Ubuntu 18.04

I’m trying to install MongoDB on Ubuntu 18.04. I’m following the instructions on here: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

However I’ve hit the following error when running sudo apt-get update

W: GPG error: https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 656408E390CFB1F5
E: The repository ‘https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release’ is not signed.

Does anyone know how I can fix this?

Please check this link

https://chrisjean.com/fix-apt-get-update-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.