首页 > 解决方案 > 无法下载 mongodb 依赖项

问题描述

出现以下错误尝试了每个命令来下载依赖项,但仍然无法下载它

在此处输入图像描述

请参阅此处的日志。这些是使用命令 sudo apt-get install mongodb 安装 mongodb 的日志

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mongodb : Depends: mongodb-server (>= 1:2.4.1-2) but it is not going to be installed
 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
               Conflicts: mongodb but 1:3.6.3-0ubuntu1.1 is to be installed
 mongodb-org-shell : Conflicts: mongodb but 1:3.6.3-0ubuntu1.1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

标签: mongodbmongodb-query

解决方案


推荐阅读