From 8d2cef370341be2b5b827103588c42495ef3cd6a Mon Sep 17 00:00:00 2001 From: "Juan A. Pedreira" Date: Sun, 15 Dec 2024 14:05:33 +0100 Subject: [PATCH 1/2] docs: specify arch in deb repo --- docs/en/getting-started/install.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/getting-started/install.md b/docs/en/getting-started/install.md index 62071ddb722..0119a106786 100644 --- a/docs/en/getting-started/install.md +++ b/docs/en/getting-started/install.md @@ -93,7 +93,8 @@ It is recommended to use official pre-compiled `deb` packages for Debian or Ubun sudo apt-get install -y apt-transport-https ca-certificates curl gnupg curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | sudo tee \ +ARCH=$(dpkg --print-architecture) +echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=${ARCH}] https://packages.clickhouse.com/deb stable main" | sudo tee \ /etc/apt/sources.list.d/clickhouse.list sudo apt-get update ``` From e56d4782a916bbe1bdce63e74bf3c856afa6acd8 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 15 Dec 2024 19:52:12 -0800 Subject: [PATCH 2/2] Update install.md --- docs/en/getting-started/install.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/getting-started/install.md b/docs/en/getting-started/install.md index 0119a106786..6ec58de6ed5 100644 --- a/docs/en/getting-started/install.md +++ b/docs/en/getting-started/install.md @@ -94,8 +94,7 @@ sudo apt-get install -y apt-transport-https ca-certificates curl gnupg curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg ARCH=$(dpkg --print-architecture) -echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=${ARCH}] https://packages.clickhouse.com/deb stable main" | sudo tee \ - /etc/apt/sources.list.d/clickhouse.list +echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=${ARCH}] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list sudo apt-get update ```