First, I tried to install elasticsearch according to the instructions on the websitehttps://www.elastic.co/guide/en/kibana/current/deb.html
but after echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
deb https://artifacts.elastic.co/packages/8.x/apt stable main
but after that, when I try to $ sudo apt-get update
> E: Conflicting values set for option Signed-By regarding source> https://artifacts.elastic.co/packages/8.x/apt/ stable:> /usr/share/keyrings/elasticsearch-keyring.gpg != E: The list of> sources could not be read.
but in keyrings, there is no elasticsearch-keyring.gpg
in keyrings,
docker-archive-keyring.gpg ubuntu-advantage-ros.gpg ubuntu-advantage-cc-eal.gpg ubuntu-archive-keyring.gpg ubuntu-advantage-cis.gpg ubuntu-archive-removed-keys.gpg ubuntu-advantage-esm-apps.gpg ubuntu-cloudimage-keyring.gpg ubuntu-advantage-esm-infra-trusty.gpg ubuntu-cloudimage-removed-keys.gpg ubuntu-advantage-fips.gpg ubuntu-master-keyring.gpg
I already changed the file sources.list from /usr/share/doc/apt/examples/ to /etc/apt/
for reset the list
I don't know how to get it back. I can't install any package through apt now
someone please, help me T_T