thin-edge.io
thin-edge.io copied to clipboard
Fail to install thin-edge on Centos7
Describe the bug On behalf of Weihan Chan.
I am trying to install thin-edge in Centos7 vm. I have followed the manual installation steps of user guides, but fail .
When I install ‘tedge’ , error message throw.
Unpacking tedge (0.6.1) over (0.6.1) ... dpkg: dependency problems prevent configuration of tedge: tedge depends on mosquitto; however: Package mosquitto is not installed.
But I am sure the mosquitto is installed in Vm, check below info Installed Packages mosquitto.x86_64 1.6.10-1.el7 @epel[wech@daeipresal51156 li
To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
- Centos7 vm
- thin-edge.io 0.6.1
Additional context
@ Weihan , Can you please share the precise commands you used to install thin-edge?
The issue is related to mosquitto being install with yum and tedge with dpkg. The latter is not aware that mosquitto is installed: the check is done on the dpkg cache and not on the actual availability of the commands.
This is related to https://github.com/thin-edge/thin-edge.io/issues/1061. This is yet another reason to remove the dependency to mosquitto
@didier-wenzek I am weihan.chen from SAG
Yes, in my centos7 vm, I am going to install thin-edge with tedge_0.6.0_amd64.deb
For the dependance , mosquitto is required, then I install mosquitto with ‘ yum install mosquitto ‘. And the system show that the mosquitto is installed successfully. I then install tedge with dpkg command , but the message show that Package mosquitto is not installed.
With https://github.com/thin-edge/thin-edge.io/pull/1098, mosquitto
will be a recommendation rather than a dependency, fixing the issue you have.
@henrychan What is the status of this issue on your side?
We no responses within 5 days, I will close this issue.