How to install MongoDB on LM 21?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
fadiyousif
Level 1
Level 1
Posts: 20
Joined: Wed Aug 10, 2022 4:33 pm

How to install MongoDB on LM 21?

Post by fadiyousif »

Here's the output from `sudo apt install 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.1) but 1.1.0g-2ubuntu4 is to be installed
mongodb-org-server : Depends: libssl1.1 (>= 1.1.1) but 1.1.0g-2ubuntu4 is to be installed
E: Unable to correct problems, you have held broken packages.
Last edited by LockBot on Tue Aug 08, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7160
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: How to install MongoDB on LM 21?

Post by mikeflan »

Hello.

Please state your LM version and desktop.

Mongodb in the repositories has 8 perfect reviews. The last review says:
"better to install from software manager than manually via the shell,no issues with missing files"

Perhaps you should do this instead??:

Code: Select all

sudo apt install mongodb
fadiyousif
Level 1
Level 1
Posts: 20
Joined: Wed Aug 10, 2022 4:33 pm

Re: How to install MongoDB on LM 21?

Post by fadiyousif »

mikeflan wrote: Wed Feb 08, 2023 2:34 pm Hello.

Please state your LM version and desktop.

Mongodb in the repositories has 8 perfect reviews. The last review says:
"better to install from software manager than manually via the shell,no issues with missing files"

Perhaps you should do this instead??:

Code: Select all

sudo apt install mongodb
LM version 21 as I wrote in the title.
DE: Cinnamon 5.4.12

I don't see a match for "mongodb" anywhere. Running `apt list mongodb` returns no matches. Nothing in the graphical software manager either.
mikeflan
Level 17
Level 17
Posts: 7160
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: How to install MongoDB on LM 21?

Post by mikeflan »

Nothing in the graphical software manager either.
Hmm. That is interesting. I am on LM 20.3 and it is in Software Manager:
.
mongo.png
.
But never gives an "Install" button.

And I get this:

Code: Select all

$ apt list mongodb
Listing... Done
mongodb/focal-updates,focal-security 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3 amd64
N: There is 1 additional version. Please use the '-a' switch to see it
$
This procedure sure looks complicated:
https://www.digitalocean.com/community/ ... untu-20-04
fadiyousif
Level 1
Level 1
Posts: 20
Joined: Wed Aug 10, 2022 4:33 pm

Re: How to install MongoDB on LM 21?

Post by fadiyousif »

mikeflan wrote: Wed Feb 08, 2023 9:55 pm
Nothing in the graphical software manager either.
Hmm. That is interesting. I am on LM 20.3 and it is in Software Manager:
.
mongo.png
.
But never gives an "Install" button.

And I get this:

Code: Select all

$ apt list mongodb
Listing... Done
mongodb/focal-updates,focal-security 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3 amd64
N: There is 1 additional version. Please use the '-a' switch to see it
$
This procedure sure looks complicated:
https://www.digitalocean.com/community/ ... untu-20-04
Yeah I'm going back to Ubuntu :D
Locked

Return to “Software & Applications”