From 454f8d696edf958f87dd55848187b18b2760dfe7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 27 Jan 2023 02:40:33 -0500 Subject: [PATCH] Update influxdb-v5-install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As of 2023-01-26, InfluxData’s Linux packaging signing key has been rotated. --- install/influxdb-v5-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/influxdb-v5-install.sh b/install/influxdb-v5-install.sh index 0ab4978d..e3f506c3 100644 --- a/install/influxdb-v5-install.sh +++ b/install/influxdb-v5-install.sh @@ -92,8 +92,9 @@ $STD apt-get install -y gnupg2 msg_ok "Installed Dependencies" msg_info "Setting up InfluxDB Repository" -$STD apt-key add <(curl -fsSL https://repos.influxdata.com/influxdb.key) -sh -c 'echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" > sudo tee /etc/apt/sources.list.d/influxdb.list' +wget -q https://repos.influxdata.com/influxdata-archive_compat.key +$STD gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key +sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list' msg_ok "Set up InfluxDB Repository" read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt