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
demandé il y a 9 mois325 vues
1 réponse
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
répondu il y a 9 mois
profile pictureAWS
EXPERT
vérifié il y a 9 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions