Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In "Install MongoDB" #24

Open
j-i-m-s-t-e-r opened this issue Apr 29, 2020 · 1 comment
Open

In "Install MongoDB" #24

j-i-m-s-t-e-r opened this issue Apr 29, 2020 · 1 comment

Comments

@j-i-m-s-t-e-r
Copy link

Get error below running "sudo apt-get install -y mongodb-org" :

"Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
The following NEW packages will be installed:
mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.8 MB of archives.
After this operation, 215 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools mongodb-org
E: There were unauthenticated packages and -y was used without --allow-unauthenticated

I guess "--allow-unauthenticated" will work but at users own risk.

@vietpham6375
Copy link

the details for Mongodb are out of date and need to be updated (someone has already made a pull request)

  1. wget -qO - https://www.mongodb.org/static/pgp/server-3.2.asc | sudo apt-key add -
  2. echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
  3. sudo apt-get update
  4. sudo apt-get install -y mongodb-org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants