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
posta 9 mesi fa325 visualizzazioni
1 Risposta
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
ESPERTO
Steve_M
con risposta 9 mesi fa
profile pictureAWS
ESPERTO
verificato 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande