Mongodb Installation problem

I'm using Zorin OS 6.2 Core. When I install Mongodb on my pc then I get errors.
According to MongoDB docs, Import the public key used by the package management system wget -qO - | sudo apt-key add -
then echo "deb [ arch=amd64,arm64 ] jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
then sudo apt-get update
now installation part sudo apt-get install -y mongodb-org
Errors are showed :
Screenshot from 2023-02-22 21-07-24

Also, I try this command sudo apt-get check and sudo apt-get -f install but same error is showed.


Please :pleading_face:

** send me any solution. I have to develop some website.

sudo apt show mongodb-org

sudo apt show mongodb-org-database

That should show the dependencies needed. You'll have to find a source of those packages and install them to satisfy the dependencies.

"The mongodb package provided by Ubuntu is not maintained by MongoDB Inc. and conflicts with the official mongodb-org package. If you have already installed the mongodb package on your Ubuntu system, you must first uninstall the mongodb package before proceeding with these instructions."


I checked that any mongdb packages are installed on my pc `

dpkg -l | grep mongodb

` . I didn't find. then I try to install mongodb but same error is showed.
Screenshot from 2023-02-22 22-27-37

echo "deb [ arch=amd64,arm64 ] focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list

Maybe if you can get 5.0 installed, you can then update to 6.0.

1 Like

Be sure to report back on the website you're developing. Be interested to see your work.

1 Like

Also, please Remove the Jammy Jellyfish Repository you added previously so that it does not cause conflicts.


I share you one github project's link. GitHub - ZAWADBINSHARIF/Mini-Inventory-Software-with-JAVASCRIPT-and-NODE-JS .
And other project is not shared. Thanks for helping :smiley:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.