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
asked 8 months ago307 views
1 Answer
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
EXPERT
Steve_M
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions