The Wayback Machine - https://web.archive.org/web/20200704214959/https://github.com/elastic/elasticsearch/issues/46868
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation for debian installation #46868

Open
jillesvangurp opened this issue Sep 19, 2019 · 3 comments
Open

Improve documentation for debian installation #46868

jillesvangurp opened this issue Sep 19, 2019 · 3 comments

Comments

@jillesvangurp
Copy link
Contributor

@jillesvangurp jillesvangurp commented Sep 19, 2019

The documentation for installing the debian/ubuntu package suggests running:

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

We added this to our chef scripts and this of course runs a lot and ends up appending the same line over and over again. This slows down apt-get operations to the point where it is unusable. When I checked the file it had 500+ lines already.

I would suggest changing this to:

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list

without the -a or to:

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" > /etc/apt/sources.list.d/elastic-7.x.list

The one issue I can see with this approach is if there is a usecase for this file to contain more than one line. In that case, maybe use separate files for each entry.

Note. created the ticket after discussion here: https://discuss.elastic.co/t/minor-problem-with-documentation-for-es-debian-installation/200172

@gwbrown gwbrown added the >docs label Sep 19, 2019
@elasticmachine
Copy link
Collaborator

@elasticmachine elasticmachine commented Sep 19, 2019

@elasticmachine
Copy link
Collaborator

@elasticmachine elasticmachine commented Sep 19, 2019

@jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Oct 4, 2019

[docs issue triage]

Leaving open as this is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.