Skip to content

Commit

Permalink
Add workaround for Heartbeat install issue (elastic#3931)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton authored and ruflin committed Apr 6, 2017
1 parent 897afab commit 1ccf588
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions libbeat/docs/repositories.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ the following:
Simply delete the `deb-src` entry from the `/etc/apt/sources.list` file, and the installation should work as expected.
==================================================

ifeval::["{beatname_uc}"=="Heartbeat"]

. On Debian or Ubuntu, pin the repository before installing to ensure that the
correct Elastic Heartbeat package is installed. To do this, edit
`/etc/apt/preferences` (or `/etc/apt/preferences.d/heartbeat`) as follows:
+
[source,shell]
--------------------------------------------------
Package: heartbeat
Pin: origin artifacts.elastic.co
Pin-Priority: 700
--------------------------------------------------

endif::[]

. Run `apt-get update`, and the repository is ready for use. For example, you can
install {beatname_uc} by running:
+
Expand Down

0 comments on commit 1ccf588

Please sign in to comment.