Unable to install mongo shell on Ubuntu 19.04

I have followed following docs


but I’m getting following error
$ sudo apt-get install -y mongodb-enterprise
Reading package lists... Done
Building dependency tree       
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-enterprise : Depends: mongodb-enterprise-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt-get install -y mongodb-enterprise-server
Reading package lists... Done
Building dependency tree       
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-enterprise-server : Depends: libsensors4 (>= 1:3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Please Help :pray: :pray:

Hi @Piyush_56319,

The error says that the mongodb-enterprise-server package depends on the libsensors4 package having version (>= 1:3.0.0). You can install this package manually.

Or, you can also try to install mongo shell on your system by following the steps mentioned in this post. It has helped a lot of users.

If the issue still persists, please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer