在Ubuntu中没有软件包的MongoDB安装错误'apt --fix-broken install'

时间:2018-11-22 05:21:25

标签: mongodb ubuntu ubuntu-18.04

我无法将MongoDB安装到Ubuntu 18.04(Bionic Beaver)中。我尝试使用官方链接here进行安装,并按照给出的MongoDB文档进行操作,但是我无法安装并且出现错误。

Reading state information... Done
mongodb-org is already the newest version (4.0.4).
You might want to run `'apt --fix-broken install'` to correct these.
The following packages have unmet dependencies:
 mongodb-org : 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 is not going to be installed
`E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).`

0 个答案:

没有答案