package mongo-tools (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/bsondump', which is also in package mongodb-database-tools 100.3.1

Asked by morghan miller

Tried to install mongodb following these instructions: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
But got the above error.

Prior to this, I tried installing using '$ sudo apt install mongodb', which also resulted in an error.

How can I install it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu mongo-tools Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

You seem to have a package mongodb-database-tools already installed which collides with the package mongo-tools.
You can only have one or the other.

If you are following instructions from a non-Ubuntu source, then you should also ask there in case of problems.

Can you help with this problem?

Provide an answer of your own, or ask morghan miller for more information if necessary.

To post a message you must log in.