Percona Server Mongodb failed Installation on Ubuntu 20.04.5

I tried to install latest percona-server-mongodb using apt and I got this eror during installation:

dpkg: error processing package percona-server-mongodb-server (--configure):
 installed percona-server-mongodb-server package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of percona-server-mongodb:
 percona-server-mongodb depends on percona-server-mongodb-server (= 5.0.11-10.focal); however:
  Package percona-server-mongodb-server is not configured yet.dpkg: error processing package percona-server-mongodb (--configure):
 dependency problems - leaving unconfigured

Mongodb service is not starting up and I got this error.

Job for mongod.service failed because the control process exited with error code.

Please help me

1 Like