mongodb - 无法下载 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).
解决方案
推荐阅读
- java - 尝试在 Android 中模糊图像的问题
- mysql - 为什么我将我的属性文件重写为具有相同内容的 yaml 文件,但是 spring 项目会引发错误?
- python - 汤对象中没有必需的项目-BeautifulSoup Python
- python - 将多个 csv 与“日期时间”列结合起来
- c++ - 不能在两个重叠的结构上使用初始化列表
- php - 未定义的属性:Cartalyst\Stripe\Stripe::$subscriptions
- java - Java eBay SDK - 无法初始化类 com.ebay.sdk.SdkAPIInterfaceServiceLocator
- react-native - 在useEffect中反应Native setState不触发重新渲染
- react-hooks - 为什么每个组件的 useRef 和 Set 每次渲染计数 2 次而不是 1 次?
- pentaho - Pentaho bi server 4.0.0 GA 在意外关闭后停止工作