I want to ask about elasticsearch and Ubuntu

When I setup Elasticsearch on Ubuntu, I made a mistake when putting 7.11.2 to: echo "deb https://artifacts.elastic.co/packages/7.11.2/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.11.2.list

so now, when running sudo apt-get update, there is a error:

Err:6 https://artifacts.elastic.co/packages/7.11.2/apt stable Release 404 Not Found [IP: xxxx]

How do I modify it in /etc/apt/sources.list? Any help welcome !

I would just rm /etc/apt/sources.list.d/elastic-7.11.2.list and then readd it.

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