After typing "sudo apt install opendistroforelasticsearch", I get the following error.
Basedir: /usr/share/elasticsearch
This script maybe require your root password for 'sudo' privileges
Unable to determine Elasticsearch config directory. Quit.
dpkg: error processing package opendistro-security (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of opendistroforelasticsearch:
opendistroforelasticsearch depends on opendistro-security (>= 1.11.0.0); however:
Package opendistro-security is not configured yet.
opendistroforelasticsearch depends on opendistro-security (<< 1.11.1.0); however:
Package opendistro-security is not configured yet.
dpkg: error processing package opendistroforelasticsearch(--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
opendistro-security
opendistroforelasticsearch
I used the installation guidelines on [https://opendistro.github.io/for-elasticsearch-docs/docs/install/deb/]
After typing "sudo apt install opendistroforelasticsearch", I get the following error.
Pls help