I cant install mongodb in my ubuntu EC2

0

I cant install mongodb in my ubuntu EC2 Displaying this error

oot@ip-0.0.0.0:~# 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.0) but it is not installable
 mongodb-org-server : Depends: libssl1.1 (>= 1.1.0) but it is not installable
 mongodb-org-shell : Depends: libssl1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

computer ip is demo.

Sajad
質問済み 9ヶ月前325ビュー
1回答
1

You're not the first person to come across this issue, see here for a long thread on the MongoDB support community https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931

Seems the fix to your issue is described in post #90 https://www.mongodb.com/community/forums/t/installing-mongodb-over-ubuntu-22-04/159931/89

profile picture
エキスパート
Steve_M
回答済み 9ヶ月前
profile pictureAWS
エキスパート
レビュー済み 9ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ