Problem in installing elasticsearch

i try to install elasticsearch.deb with this command
/ sudo apt-get install -f elasticsearch
and after time span i get this error
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 329 not upgraded.
Need to get 27.2 MB of archives.
After this operation, 30.5 MB of additional disk space will be used.
Get:1 stable/main amd64 elasticsearch all 2.4.6 [27.2 MB]
Fetched 27.2 MB in 1min 23s (327 kB/s)
dpkg: unrecoverable fatal error, aborting:
statoverride file contains empty line
E: Sub-process /usr/bin/dpkg returned an error code (2)
some one know what is wrong?

How come you are installing 2.X?

sorry i could not understand what you ask.

The latest version of Elasticsearch is 6.2.4.
Elasticsearch 2.X has reached end of life and is no longer actively supported.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.