Elastic config file revert to default

after installing security patches on ubuntu 18.04 the yml config file was revert to default like all was commented again
on the logs I see this see this:
Setting up linux-cloud-tools-common (4.15.0-166.174) ...
Setting up linux-azure-5.4-cloud-tools-5.4.0-1067 (5.4.0-1067.70~18.04.1) ...
Setting up linux-cloud-tools-5.4.0-1067-azure (5.4.0-1067.70~18.04.1) ...
Setting up Elasticsearch (7.16.3) ...

Configuration file '/etc/Elasticsearch/Elasticsearch.yml'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** Elasticsearch.yml (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package Elasticsearch (--configure):
end of file on stdin at conffile prompt
Setting up linux-cloud-tools-azure ( ...

I noticed also bellow

Found initrd image: /boot/initrd.img-5.4.0-1055-azure
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

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