执行
sudo apt-get install -y mongodb-org 时发生异常
WARNING: The following packages cannot be authenticated!mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools mongodb-org
E: There are problems and -y was used without –force-yes
解决方法:
改为 sudo apt-get install -y mongodb-org --force-yes
WARNING: The following packages cannot be authenticated!mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools mongodb-org
E: There are problems and -y was used without –force-yes
解决方法:
改为 sudo apt-get install -y mongodb-org --force-yes