I like much that approach, but this should also be the case for Domoticz package as well, no ?pocock wrote: ↑Wednesday 21 August 2019 0:06We can use a domoticz.preinst script or domoticz-zigate-plugin.preinst script to detect which files and directories already exist. If the preinst scripts detect the wrong version or wrong file locations they can stop the package install process before any changes are made to the system.
Example for domoticz-zigate-plugin.preinst
Code: Select all
if [ -d /usr/lib/domoticz/plugins/Domoticz-Zigate/.git ]; then echo "You already installed the plugin from Git, please manually move the existing plugin directory aside" echo "and backup your configuration before installing this package" exit 1 fi
Debian and Raspbian packages now available
Moderator: leecollings
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Debian and Raspbian packages now available
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
Re: Debian and Raspbian packages now available
Could you suggest exactly which file or directory I should check for an existing Domoticz installation?
Daniel Pocock, Debian Developer
https://danielpocock.com
https://danielpocock.com
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Debian and Raspbian packages now available
I'm sorry, I'm not the best to tell you that, as most of the installation are home made.
You might check what the domoticz installer (script) is doing. I think that would be the most used environment.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
Re: Debian and Raspbian packages now available
Hi Daniel,pocock wrote: ↑Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:
You have an arm64 architecture and I only built for amd64, i386 and armhf so far.djdem1664 wrote: ↑Tuesday 20 August 2019 18:55
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://apt.debify.org/debify debify-buster-backports InRelease' doesn't support architecture 'arm64'
I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?
Is this your device?
http://www.orangepi.org/Orange%20Pi%203/
could you advance on the package for my orange pi?
Thanks a lot
Re: Debian and Raspbian packages now available
Do you have some news?djdem1664 wrote: ↑Tuesday 01 October 2019 10:10Hi Daniel,pocock wrote: ↑Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:
You have an arm64 architecture and I only built for amd64, i386 and armhf so far.djdem1664 wrote: ↑Tuesday 20 August 2019 18:55
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://apt.debify.org/debify debify-buster-backports InRelease' doesn't support architecture 'arm64'
I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?
Is this your device?
http://www.orangepi.org/Orange%20Pi%203/
could you advance on the package for my orange pi?
Thanks a lot
-
- Posts: 2016
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: Debian and Raspbian packages now available
Hello,
Would you mind to use the latest stable version of the plugin as the beta-4.4 is quiet out-dated.
Would it be possible to be able to enable file log ? /tmp/domoticz.txt for exemple ?
Would you mind to use the latest stable version of the plugin as the beta-4.4 is quiet out-dated.
Would it be possible to be able to enable file log ? /tmp/domoticz.txt for exemple ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
Re: Debian and Raspbian packages now available
The latest version, 2020.2-1 has now been packaged for Debian, please see this thread for details about the latest package. As part of this update, I also made builds for additional CPU architectures, including the arm64 (Orange Pi) build.djdem1664 wrote: ↑Wednesday 30 October 2019 13:01Do you have some news?djdem1664 wrote: ↑Tuesday 01 October 2019 10:10Hi Daniel,pocock wrote: ↑Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:
You have an arm64 architecture and I only built for amd64, i386 and armhf so far.
I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?
Is this your device?
http://www.orangepi.org/Orange%20Pi%203/
could you advance on the package for my orange pi?
Thanks a lot
Please provide feedback if this works or not using the thread for the 2020.2-1 packages.
Daniel Pocock, Debian Developer
https://danielpocock.com
https://danielpocock.com
Who is online
Users browsing this forum: No registered users and 1 guest