Skip to content

Commit

Permalink
fix debian flow instructions (grafana#3852)
Browse files Browse the repository at this point in the history
* fix debian flow instructions

* Update docs/sources/static/set-up/install-agent-linux.md

Co-authored-by: Mischa Thompson <mischabear@gmail.com>

---------

Co-authored-by: Mischa Thompson <mischabear@gmail.com>
  • Loading branch information
zeitlinger and spartan0x117 committed May 16, 2023
1 parent 5ad7c9a commit 1929e10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/sources/flow/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Ubuntu), complete the following steps:
1. Open a terminal and run the following command to install Grafana's package repository:

```shell
mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor > /etc/apt/keyrings/grafana.gpg
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list
sudo mkdir -p /etc/apt/keyrings/
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
```

2. With the repository installed, update the list of available packages:
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/static/set-up/install-agent-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Install Grafana Agent and get it up and running on Linux.

1. If your distribution supports the signed-by option, open a terminal and enter:
```shell
$ mkdir -p /etc/apt/keyrings/
$ wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg
$ sudo mkdir -p /etc/apt/keyrings/
$ wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
$ echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
```
Otherwise, with the deprecated apt-key command:
Expand Down

0 comments on commit 1929e10

Please sign in to comment.