Score:1

install mongodb on ubuntu 22.04

as flag

I wanna install mongodb I follow the tutorial but when I use sudo apt-get install -y mongodb-org return this:

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.1) but it is not installable
 mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but it is not installable
 mongodb-org-shell : Depends: libssl1.1 (>= 1.1.1) but it is not installable
N: Ignoring file 'mongodb-org' in directory '/etc/apt/sources.list.d/' as it has no filename extension
E: Unable to correct problems, you have held broken packages.
Score:0
us flag

If you have followed the guide from this page, the mongodb-org package does not have a dependency to libssl1.1, only to libssl3.

Are you sure, that you chose the right repository for Jammy(22.04) and not Focal(20.04) or even Bionic(18.04)? Because Focal and Bionic offer only openssl1.1, which would explain the wrong/missing dependencies.

See dependency graph:

enter image description here

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.