Skip to content

Instantly share code, notes, and snippets.

@lmayorga1980
Created January 22, 2019 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmayorga1980/d43f9f7d18d8e3908f4b73a5e4ef51c2 to your computer and use it in GitHub Desktop.
Save lmayorga1980/d43f9f7d18d8e3908f4b73a5e4ef51c2 to your computer and use it in GitHub Desktop.
Find Ubuntu Repository Keys

Find Repository Keys for Ubuntu Repository

...
pub  4096R/A15703C6 2016-01-11            

uid MongoDB 3.4 Release Signing Key <packaging@mongodb.com>
sig  sig3  A15703C6 2016-01-11 __________ 2018-01-10 [selfsig]
sig  sig3  A15703C6 2018-01-05 __________ 2020-01-05 [selfsig]
...
  • Copy the key. In this case A15703C6.
  • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv A15703C6.
  • echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment