Mosquitto update

Asked by mukilan on 2020-10-08

How to update my mosquitto version 1.6.8 to the latest version in ubuntu 18.04. I've tried the following commands:

sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update

But it's not working for me.Its still having version 1.6.8.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Letzeisen
Solved:
2020-10-09
Last query:
2020-10-09
Last reply:
2020-10-08
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
sudo apt update
apt-cache policy mosquitto

Best Daniel Letzeisen (dtl131) said : #3

Just running 'sudo apt-get update' will not install the new version.
You also need to run 'sudo apt-get dist-upgrade' or 'sudo apt-get install mosquitto'

mukilan (mukilan64) said : #4

Thanks Daniel Letzeisen, that solved my question.