【问题标题】:While installing mongodb in kali linux, I get errors in apt-get在 kali linux 中安装 mongodb 时,我在 apt-get 中遇到错误
【发布时间】:2020-07-09 21:30:04
【问题描述】:

需要帮助。 尝试在kali linux 2中安装Mongodb,使用命令

sudo apt-get install mongodb-org

但它总是给我以下错误:

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 is not going to be installed

我尝试过自己安装这些包,但在 kali 的存储库中找不到。 [1]:https://i.stack.imgur.com/Tz1bF.png

【问题讨论】:

  • 你有apt-get updated吗?
  • 是的,已经试过了。

标签: mongodb dependencies kali-linux aptitude


【解决方案1】:

试试 Aptitude

sudo aptitude install mongodb-org

你也试过

sudo apt-get clean
sudo apt-get autoclean

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-11-22
    • 2019-04-16
    • 2020-07-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多