I'm trying to install couchbase-server-community
on my Ubuntu 18.04 WSL 2 using the basic instructions from the Couchbase official website.
When running sudo apt install couchbase-server-community
, I receive however
Unpacking couchbase-server-community (6.6.0-7909-1) ...
Setting up couchbase-server-community (6.6.0-7909-1) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
dpkg: error processing package couchbase-server-community (--configure):
installed couchbase-server-community package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
couchbase-server-community
E: Sub-process /usr/bin/dpkg returned an error code (1)
How can I install and run the latest Couchbase for my Ubuntu version succesfully?
systemd
for its setup. WSL doesn't havesystemd
. This is the problem you need to solve. You could try to disable postinstall scripts and manually go through the postinstallation steps.