From 25c361e358467830635af465be99e1c1e5354f1a Mon Sep 17 00:00:00 2001 From: soffokl Date: Fri, 10 Apr 2026 11:51:00 +0600 Subject: [PATCH] Use new PPA for install script to fix newest Debian installation --- install.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 43394a4e53..8967362ef1 100755 --- a/install.sh +++ b/install.sh @@ -16,16 +16,13 @@ export DEBIAN_FRONTEND="noninteractive" if [[ "$SNAPSHOT" == "true" ]]; then PPA="ppa:mysteriumnetwork/node-dev" - PPA_URL="http://ppa.launchpad.net/mysteriumnetwork/node-dev/ubuntu" - PPA_FINGER="ECCB6A56B22C536D" + PPA_URL="https://ppa.mysterium.network/mysteriumnetwork/node-dev/ubuntu" elif [[ "$NETWORK" == "testnet3" ]]; then PPA="ppa:mysteriumnetwork/node-testnet3" - PPA_URL="http://ppa.launchpad.net/mysteriumnetwork/node-testnet3/ubuntu" - PPA_FINGER="ECCB6A56B22C536D" + PPA_URL="https://ppa.mysterium.network/mysteriumnetwork/node-testnet3/ubuntu" else PPA="ppa:mysteriumnetwork/node" - PPA_URL="http://ppa.launchpad.net/mysteriumnetwork/node/ubuntu" - PPA_FINGER="ECCB6A56B22C536D" + PPA_URL="https://ppa.mysterium.network/mysteriumnetwork/node/ubuntu" fi get_os() { @@ -98,6 +95,11 @@ install_debian() { # Wireguard prepare_sources_list + # myst - set up key and repo before any apt update to avoid stale list issues + mkdir -p /etc/apt/keyrings + curl -fsSL https://ppa.mysterium.network/public-key | gpg --dearmor -o /etc/apt/keyrings/mysterium.gpg + echo "deb [signed-by=/etc/apt/keyrings/mysterium.gpg] $PPA_URL focal main" > /etc/apt/sources.list.d/mysterium.list + if [[ "$container" != "docker" ]]; then apt update if [[ "$DISTRO" == "raspbian" ]]; then @@ -107,10 +109,6 @@ install_debian() { fi fi - # myst - echo "deb $PPA_URL focal main" > /etc/apt/sources.list.d/mysterium.list - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "$PPA_FINGER" - apt update apt install -y wireguard myst }