Page 1 of 1

Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 12:57
by LoKo
Hello,
I am not able to install Domoticz on my RP3B.
I tried the easy way as mentioned on the website but the installation always stops at the same point.
It has to do with "Checking for libudev-dev." See:

Code: Select all

pi@raspberrypi:~ $ curl -L install.domoticz.com | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   194  100   194    0     0   2586      0 --:--:-- --:--:-- --:--:--  2621
100 16565  100 16565    0     0  72973      0 --:--:-- --:--:-- --:--:-- 72973
:::
::: Script called with non-root privileges. The Domoticz installs server packages and configures
::: system networking, it requires elevated rights. Please check the contents of the script for
::: any concerns with this requirement. Please be sure to download this script from a trusted source.
:::
::: Detecting the presence of the sudo utility for continuation of this install...
::: Utility sudo located.
:::
::: You are root.
::: Verifying free disk space...
:::
::: apt-get update has not been run today. Running now... done!
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Domoticz installation...
:::    Checking for apt-utils... installed!
:::    Checking for whiptail... installed!
:::    Checking for git... installed!
:::    Checking for curl... installed!
:::    Checking for unzip... installed!
:::    Checking for wget... installed!
:::    Checking for sudo... installed!
:::    Checking for cron... installed!
:::    Checking for libudev-dev...pi@raspberrypi:~ $ 

As a newbie I don't know what to do now.... :(
Can someone help me out ?

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 13:30
by ben53252642
Try this command to start the installation with root privileges:

sudo curl -L install.domoticz.com | bash

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 14:12
by LoKo
Try this command to start the installation with root privileges:

sudo curl -L install.domoticz.com | bash
Thanks but hat does'nt help...
I get exactly the same result.

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 14:38
by CHMvR

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 15:31
by FireWizard

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 17:00
by LoKo
As a newbie, I do not understand the solutions in the links...
I have some information about my raspian :

Code: Select all

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
I think this is OK.
But the installation stiil stops at the same point... :cry: :cry:

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 07 November 2019 21:08
by LoKo
I think I have solved the problem. I costed me hours...
I think it all had to do with updates, upgrades, versions etc.

This is the story :
I also had another problem with my raspian desktop environment, so I decided to solve that during waiting for an answer of this forum.
I could not open the tab "Recommended Software" under "Preferences". It always stopped with an error like :

Code: Select all

Error updating package data - E: Repository 'https://raspbain.raspberrypi.org/raspbain buster inRease' changed its 'Suite' value from 'testing' to 'stable' 
Browsing the internet, I read that more people had this problem and I found the following solution for this:

Code: Select all

sudo apt-get update --allow-releaseinfo-change
After this I did again :

Code: Select all

sudo apt-get upgrade
This time the upgrade took longer then before and after this the "Recommended Software" tab was opening without the error ! :)

Now I had the feeling that I had a "better" update/upgrade then before (?) and I tried the install of Domoticz again :

Code: Select all

curl -L https://install.domoticz.com | bash
And now for the first time the installation passed the point :

Code: Select all

Checking for libudev-dev...
!!! :) !
It took a little longer time then the other checkings, but the installation went to the end ! :D

So this --allow-releaseinfo-change addition seems very important and solved my problem.
Only a "sudo apt-get update" followed by "sudo apt-get upgrade" is probably not enough !

But as a newbie I don't know exactly what I did and why...
Can someone explain what happened ? Do I have to use this --allow-releaseinfo-change in future during updates or not ?
I assume I am not the only one with this issue, so I hope that this can help other people too.
Answers will be appreciated

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 24 November 2022 20:11
by dirkjan
I have exact this problem (RP3B) followed the solution presented, but with me it doesnot work. The installation stops at checking libudev etc. Anybody another solution??

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Thursday 24 November 2022 21:15
by waltervl
Did you follow this instruction to prepare your RPi? https://www.domoticz.com/wiki/Initial_R ... y_Pi_Setup

Re: Cannot install Domoticz on Raspberry pi.....need help

Posted: Monday 30 January 2023 22:30
by lslamp
yes sir, that I did

I will delete the pi and start from scratch and see if that makes any difference

will update the results here

Lawrence