I'm trying to install the mosquitto package, but when I type sudo apt-get install mosquitto it returns E: Unable to locate package mosquitto.
I already ran sudo apt-get update and sudo apt-get upgrade.
Output from apt search mosquitto:
Sortierung... Fertig
Volltextsuche... Fertig
libmosquitto1/now 1.5.7-1+deb10u1 armhf [Installiert,lokal]
MQTT version 3.1/3.1.1 client library
mosquitto-clients/now 1.5.7-1+deb10u1 armhf [Installiert,lokal]
Mosquitto command line MQTT clients
(sorry for the german parts.) It seems like it's already installed? But when I run mosquitto_sub -d -t /home/data to test, I only get Error: Connection refused
Output from cat /etc/apt/sources.list:
#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
Seems like there's a problem with 'apt-get update, so I tried fixing it with debsums, like in this thread, but apt-get update can't find the debsums package to install on the first hand...