Raspbian stretch and MQTT updates

hi all,

hope someone can tell me the best way to fix this as I like to keep the system up to date and it bothers me when things are broke.

I upgraded to rapbian stretch and everything is fine… but I recently did a apt-get update and dist etc and MQTT complained about invalid signatures…

any tips ?

ps

I’m happy to use the built in MQTT system over the one installed but I couldn’t get it going…

here’s the error, any tips appreciated…

pi@custard-pi:~$ uptime
08:27:10 up 2 days, 19:34,  2 users,  load average: 0.15, 0.09, 0.06
pi@custard-pi:~$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Get:1 http://archive.raspberrypi.org/debian jessie InRelease [22.9 kB]
Hit:2 http://repo.mosquitto.org/debian wheezy InRelease                        
Get:3 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]  
Hit:4 http://dl.ubnt.com/unifi/debian unifi5 InRelease                         
Err:2 http://repo.mosquitto.org/debian wheezy InRelease
The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <[email protected]>
Get:5 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Fetched 11.7 MB in 44s (262 kB/s)                                              
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mosquitto.org/debian wheezy InRelease: The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <[email protected]>
W: Failed to fetch http://repo.mosquitto.org/debian/dists/wheezy/InRelease  The following signatures were invalid: EXPKEYSIG 61611AE430993623 Mosquitto Apt Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@custard-pi:~$

See this blog
http://mosquitto.org/2018/01/mosquitto-debian-repo-key-updated/

6 Likes

thanks v much - all sorted now ! :slight_smile: