can';t在ubuntu 16.10上安装mongodb
我正试图通过以下方式安装mongodb(我使用的是ubuntu 16.10)。我以前成功安装过mongodb,但我遇到了一个错误,所以我卸载了mongodb 当我再次尝试安装它时,在我的终端上输入can';t在ubuntu 16.10上安装mongodb,mongodb,ubuntu,Mongodb,Ubuntu,我正试图通过以下方式安装mongodb(我使用的是ubuntu 16.10)。我以前成功安装过mongodb,但我遇到了一个错误,所以我卸载了mongodb 当我再次尝试安装它时,在我的终端上输入sudo apt get install-y mongodb org时,出现了这个错误: Reading package lists... Done Building dependency tree Reading state information... Done The followi
sudo apt get install-y mongodb org
时,出现了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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 255 not upgraded.
Need to get 66,7 MB of archives.
After this operation, 269 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
您可以通过以下方式安装:
sudo apt-get install -y --allow-unauthenticated mongodb-org
但是请注意,它不会对您安装的包进行身份验证
请记住,Ubuntu 16.10不是受支持的平台之一:
sudo apt-key update
sudo apt-get update
希望有帮助!:) 您可能想在AskUbuntu上询问: