【发布时间】:2022-12-30 01:09:18
【问题描述】:
按照 MongoDB 官方网站的安装说明进行操作。
- 安装时mongodb 组织包收到以下错误
sudo apt 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
mongodb-org-shell : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
- 我尝试安装libssl1.1使用 apt 打包,但我无法这样做,它会抛出以下错误。
E: Package 'libssl1.1' has no installation candidate
请有人帮助。
【问题讨论】:
-
这是重复的问题。请参考这个Answer
标签: mongodb ubuntu-22.04