【问题标题】:downloading mongoDB with error "E: Unable to correct problems, you have held broken packages."下载 mongoDB 时出现错误“E:无法纠正问题,您持有损坏的软件包。”
【发布时间】:2022-10-16 01:45:39
【问题描述】:

我正在下载 mongoDBLinux Ubuntu 版本 22.04.1 LTS,面临下载错误

我从堆栈溢出讨论中尝试了 3 个解决方案

E: 无法纠正问题,您持有破损的包裹。

(base) joy@joy-System-Product-Name:~$ sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mongodb-org-mongos : Depends: libssl1.1 (>= 1.1.1) but it is not installable
 mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

我不确定什么解决方案可以完美解决我的问题,我需要帮助

我也在姐妹网站问 Ubuntu 上发帖,我在这里发布更多细节可能是因为我在这里更新时,系统会提示我发布格式不正确。
https://askubuntu.com/questions/1434992/downloading-mongodb-with-error-e-unable-to-correct-problems-you-have-held-bro

【问题讨论】:

  • 请不要在多个网站上发布此类问题。选择一个这是一个主题问题
  • 以前是2个站点,现在我变成了一个站点,谢谢
  • 您的问题仍然发布在 askubuntu.com (这是主题)和 StackOverflow (这是题外话)
  • 嗨@Nico Haase,我只是以同样的方式询问link,因为讨论无法解决我的问题,所以我想要更多的可能性来解决这个问题。但是,如果您愿意,我可以为您删除这个问题,如果您仍然认为在这里提问是题外话。

标签: mongodb ubuntu pip ubuntu-20.04


【解决方案1】:

斯坦尼说:

在具有支持的操作系统版本(例如 20.04 LTS)的单独主机上运行 MongoDB 部署

在具有受支持的操作系统版本的容器/VM 中运行 MongoDB

Mongodb 可能还没有在 Ubuntu 22.04 (Jammy) 中,因为他们没有在官网上解释安装过程

有关更多信息,请参阅Here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-04-12
    • 2018-11-12
    • 2017-06-17
    • 2020-09-09
    • 1970-01-01
    • 1970-01-01
    • 2022-01-21
    相关资源
    最近更新 更多