If I try to install x-pack it fails saying that it's incompatible. If I try to remove x-pack to install 6.2 and it says it's incompatible also:
/usr/share/elasticsearch# ES_PATH_CONF=/etc/elasticsearch bin/elasticsearch-plugin remove x-pack
Exception in thread "main" java.lang.IllegalArgumentException: plugin [x-pack] is incompatible with version [6.2.0]; was designed for version [6.1.3]
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:224)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:329)
at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:89)
at org.elasticsearch.plugins.RemovePluginCommand.execute(RemovePluginCommand.java:67)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)
Please help