Errors were encountered while processing: mongodb-org

I AM GETTING BELOW ERROR WHILE INSTALLING Mongodb on ubuntu 18.04

dpkg: dependency problems prevent configuration of mongodb-org: mongodb-org depends on mongodb-mongosh; however: Package mongodb-mongosh is not configured yet.

dpkg: error processing package mongodb-org (–configure): dependency problems - leaving unconfigured Setting up mongodb-org-tools (6.0.3) … Setting up mongodb-org-server (6.0.3) … System has not been booted with systemd as init system (PID 1). Can’t operate. Setting up mongodb-org-database (6.0.3) … Processing triggers for man-db (2.8.3-2ubuntu0.1) … Errors were encountered while processing: mongodb-org E: Sub-process /usr/bin/dpkg returned an error code (1)

Hello @sonali_padhi ,

Welcome to The MongoDB Community Forums! :wave:

Have you followed the installation notes for putting MongoDB on Ubuntu ?

This does not look like a MongoDB error but a more general linux error, could you please confirm if you are using WSL/WSL2 and any other environment details, which might help us understanding the context of these error?

To troubleshoot any errors encountered during installation because of dpkg error, please follow this troubleshooting guide

Let me know if you get any additional errors with steps to reproduce the error, would love to help! :slight_smile:

Regards,
Tarun