要更新 mosquitto-clients,我尝试过
sudo apt-get update
sudo apt-get install mosquitto-clients
但是,这不会为我更新版本。
Reading package lists... Done
Building dependency tree
Reading state information... Done
mosquitto-clients is already the newest version (1.4.15-2ubuntu0.18.04.3).
The following packages were automatically installed and are no longer required:
bridge-utils ubuntu-fan
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
我想使用 tls1.3 (使用mosquitto_pub --tls-version tlsv1.3
)并从系统中使用 1.4.15 我得到 Error: Problem setting TLS options.
当使用 Ubuntu wsl 中的 mosquitto_pub 和 mosquitto-clients 1.6.9 时,我可以轻松连接和发送数据。
有人可以帮忙吗。两个系统都是linux的。