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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南