gpt4 book ai didi

linux - 无法将 mosquitto-clients 从 1.4.15 更新到 1.6.9

转载 作者:行者123 更新时间:2023-12-04 18:59:04 36 4
gpt4 key购买 nike

要更新 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的。

最佳答案

请关注documentation配置存储库,以便您可以查看所有可用版本。
那么如果需要安装版本1.6.10 (我没看到 1.6.9 )

root@debian1:~# apt install mosquitto-clients=1.6.10-0mosquitto1~buster1 libmosquitto1=1.6.10-0mosquitto1~buster1
搜索可用于包的所有版本。
root@debian1:~# apt-cache policy mosquitto-clients | less
但这取决于 libmosquitto1图书馆所以也请检查。
root@debian1:~# apt-cache policy libmosquitto1 | less

关于linux - 无法将 mosquitto-clients 从 1.4.15 更新到 1.6.9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69230767/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com