From 55feece6f17474276908253a6745d7ed1e7cce80 Mon Sep 17 00:00:00 2001 From: oznu Date: Fri, 12 Aug 2022 16:41:23 +1000 Subject: [PATCH] hb-config: apt allow release info changes --- stage3_homebridge/01-homebridge/files/hb-config | 8 ++++---- stage3_homebridge/01-homebridge/files/hb-config-new | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/stage3_homebridge/01-homebridge/files/hb-config b/stage3_homebridge/01-homebridge/files/hb-config index f3107be..ce6203a 100644 --- a/stage3_homebridge/01-homebridge/files/hb-config +++ b/stage3_homebridge/01-homebridge/files/hb-config @@ -405,7 +405,7 @@ do_install_deconz() { isRaspbee="1" # Install deps - apt update + apt update --allow-releaseinfo-change sudo apt install -y i2c-tools build-essential raspberrypi-kernel-headers # WiringPi (Pi4 Only) @@ -468,7 +468,7 @@ do_install_deconz() { /etc/apt/sources.list.d/deconz.list" # Update APT package list - apt update + apt update --allow-releaseinfo-change # Install deCONZ apt install -y deconz @@ -535,7 +535,7 @@ do_install_desktop_and_vnc() { else whiptail --title "Warning" --yesno "The Raspbian Desktop will now be installed.\n\nThis may take between 5 and 45 minutes to complete depending on your device." 20 60 2 --no-button "Cancel" --yes-button "Continue" if [ $? -eq 0 ]; then - apt update + apt update --allow-releaseinfo-change apt install -y raspberrypi-ui-mods else return 0; @@ -543,7 +543,7 @@ do_install_desktop_and_vnc() { fi # install and setup VNC - if is_installed realvnc-vnc-server || (apt update && apt install -y realvnc-vnc-server); then + if is_installed realvnc-vnc-server || (apt update --allow-releaseinfo-change && apt install -y realvnc-vnc-server); then cat > /etc/systemd/system/vncserver-pi.service < /dev/null echo "deb [signed-by=/usr/share/keyrings/homebridge.gpg] https://repo.homebridge.io stable main" | sudo tee /etc/apt/sources.list.d/homebridge.list > /dev/null - apt-get update + apt-get update --allow-releaseinfo-change apt-get install -y homebridge } @@ -288,7 +288,7 @@ do_install_deconz() { isRaspbee="1" # Install deps - apt update + apt update --allow-releaseinfo-change sudo apt install -y i2c-tools build-essential raspberrypi-kernel-headers # WiringPi (Pi4 Only) @@ -351,7 +351,7 @@ do_install_deconz() { /etc/apt/sources.list.d/deconz.list" # Update APT package list - apt update + apt update --allow-releaseinfo-change # Install deCONZ apt install -y deconz @@ -418,7 +418,7 @@ do_install_desktop_and_vnc() { else whiptail --title "Warning" --yesno "The Raspbian Desktop will now be installed.\n\nThis may take between 5 and 45 minutes to complete depending on your device." 20 60 2 --no-button "Cancel" --yes-button "Continue" if [ $? -eq 0 ]; then - apt update + apt update --allow-releaseinfo-change apt install -y raspberrypi-ui-mods else return 0; @@ -426,7 +426,7 @@ do_install_desktop_and_vnc() { fi # install and setup VNC - if is_installed realvnc-vnc-server || (apt update && apt install -y realvnc-vnc-server); then + if is_installed realvnc-vnc-server || (apt update --allow-releaseinfo-change && apt install -y realvnc-vnc-server); then cat > /etc/systemd/system/vncserver-pi.service <