diff --git a/docs/reference/setup/repositories.asciidoc b/docs/reference/setup/repositories.asciidoc index e73907ae43a..e2b53dea98b 100644 --- a/docs/reference/setup/repositories.asciidoc +++ b/docs/reference/setup/repositories.asciidoc @@ -27,7 +27,7 @@ Run apt-get update and the repository is ready for use. You can install it with [source,sh] -------------------------------------------------- -apt-get install elasticsearch +apt-get update && apt-get install elasticsearch --------------------------------------------------