I cannot MongoDB on Ubuntu 22.04 LTS

Greetings.

I want to install mongoDB but I cannot. I tried it at Oracle cloud, Ubuntu 22.04 LTS. I tried to follow this, but error occurs in last command(sudo apt install mongodb-org).


I tried to sudo apt install libcurl1.1, but it occurs Error: E: Package ‘libssl1.1’ has no installation candidate.

How can I install MongoDB in Ubuntu 22.04 LTS? I cannot downgrade my instance’s OS.

PS. I founded ‘E: Unable to correct problems, you have held broken packages.’ and why this error occurs.

I tried to sudo apt install libcurl1.1, but it occurs Error: E: Package ‘libssl1.1’ has no installation candidate.

this is that’s solution.

Check this link

1 Like

Just switch back to ubuntu 20.04 or some fedora or arch. Or learn and use docker instead. because this is only one package(mongoDB). God knows how many more softwares are not supported in 22.04 (They have done many critical upgrades like wayland, libssl1 → libssl3, etc. Wait a year or so for everything get supported in ubuntu 22.04 and based distros( like popos, mint, distros).
I now understand why even arch exits at first place. And why fedora is is becoming popular
Happy coding fella:)