我按照官方 MongoDB 网站 ( https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ )上的说明进行操作,尝试安装 MongoDB 时出现此错误。如何解决这个问题,出了什么问题?记住我使用的是最新的 Ubuntu 版本 16.04
sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mongodb-org :
Depends: mongodb-org-shell but it is not going to be installed
Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
Depends: mongodb-org-tools but it …
Run Code Online (Sandbox Code Playgroud)