From 83b93390c940d9b7e290b96caab54d0dd661bd85 Mon Sep 17 00:00:00 2001 From: EtlamGit Date: Sat, 6 Sep 2025 11:02:54 +0200 Subject: [PATCH] use debian source for direct installation of MQTT (#7423) as newer Debian contains mosquitto in sources, directly install it without adding extra repository --- install/mqtt-install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install/mqtt-install.sh b/install/mqtt-install.sh index 00c2e01e4..7c83deca2 100644 --- a/install/mqtt-install.sh +++ b/install/mqtt-install.sh @@ -15,12 +15,10 @@ update_os msg_info "Installing Mosquitto MQTT Broker" source /etc/os-release -curl -fsSL http://repo.mosquitto.org/debian/mosquitto-repo.gpg >/usr/share/keyrings/mosquitto-repo.gpg.key -chmod go+r /usr/share/keyrings/mosquitto-repo.gpg.key -echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/mosquitto-repo.gpg.key] http://repo.mosquitto.org/debian ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/mosquitto.list $STD apt-get update $STD apt-get -y install mosquitto $STD apt-get -y install mosquitto-clients + cat </etc/mosquitto/conf.d/default.conf allow_anonymous false persistence true