Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.

Commit 35bd45d

Browse files
committed
Fix GPG key for MongoDB 🤔
GPG error: http://repo.mongodb.com trusty/mongodb-enterprise/3.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BC711F9BA15703C6 But the official guide currently says to use another key https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-ubuntu/#import-the-public-key-used-by-the-package-management-system sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \ --recv 0C49F3730359A14518585931BC711F9BA15703C6
1 parent 4f68388 commit 35bd45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎mongodb/mongodb/templates/user-data.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hostname ${hostname}
66
#
77
# apt
88
#
9-
DEBIAN_FRONTEND=noninteractive apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
9+
DEBIAN_FRONTEND=noninteractive apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv BC711F9BA15703C6
1010
echo "deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
1111
DEBIAN_FRONTEND=noninteractive apt-key update -y
1212
DEBIAN_FRONTEND=noninteractive apt-get update -y

0 commit comments

Comments
 (0)