From f9e6b2b2e963fde1951b87baf5888bb863636cdf Mon Sep 17 00:00:00 2001 From: Zenithal Date: Wed, 15 Feb 2023 19:53:39 +0800 Subject: [PATCH] influxdata: add "stable main" repo Migration guide: 1. rm -rf ubuntu 2. ln -sTf debian ubuntu 3. rm influx.key (or keep it for compatibility) --- influxdata.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/influxdata.sh b/influxdata.sh index d874666..f55c856 100755 --- a/influxdata.sh +++ b/influxdata.sh @@ -15,14 +15,15 @@ UBUNTU_PATH="${BASE_PATH}/ubuntu" DEBIAN_PATH="${BASE_PATH}/debian" export REPO_SIZE_FILE=/tmp/reposize.$RANDOM -wget -O ${BASE_PATH}/influxdb.key ${BASE_URL}/influxdb.key - # =================== APT repos =============================== -"$apt_sync" --delete "${BASE_URL}/ubuntu" @ubuntu-lts stable amd64,i386,armhf,arm64 "$UBUNTU_PATH" -echo "Ubuntu finished" -"$apt_sync" --delete "${BASE_URL}/debian" @debian-current stable amd64,i386,armhf,arm64 "$DEBIAN_PATH" -echo "Debian finished" +# full .deb set +"$apt_sync" --delete "${BASE_URL}/debian" stable main amd64,i386,armhf,arm64 "$DEBIAN_PATH" +echo "Stable finished" +# only for metadata +"$apt_sync" "${BASE_URL}/debian" @debian-current,@ubuntu-lts stable amd64,i386,armhf,arm64 "$DEBIAN_PATH" +ln -sTf debian "$UBUNTU_PATH" +echo "Debian/Ubuntu finished" # =================== YUM/DNF repos ==========================