thin-edge.io icon indicating copy to clipboard operation
thin-edge.io copied to clipboard

Fail to install thin-edge on Centos7

Open didier-wenzek opened this issue 2 years ago • 5 comments

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

didier-wenzek avatar Apr 13 '22 10:04 didier-wenzek

@ Weihan , Can you please share the precise commands you used to install thin-edge?

didier-wenzek avatar Apr 13 '22 10:04 didier-wenzek

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 avatar Apr 13 '22 13:04 didier-wenzek

@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.

henrychan avatar Apr 24 '22 07:04 henrychan

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.

didier-wenzek avatar Apr 25 '22 08:04 didier-wenzek

@henrychan What is the status of this issue on your side?

We no responses within 5 days, I will close this issue.

didier-wenzek avatar Jun 09 '22 10:06 didier-wenzek