• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pilight on raspbian bullseye
#1
Hello I newly found this project, installed my raspi new. 

The Linux Debian Based install failed, because apt-key seems deprecated, so I worked around with:

Code:
nano /etc/apt/sources.list

Quote:# added [trusted=yes]
deb [trusted=yes] http:// apt.pilight.org/ stable main
Code:
user@host:~#  apt-get install pilight
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pilight : Depends: libmbedcrypto0 but it is not going to be installed
          Depends: libmbedtls10 but it is not installable
E: Unable to correct problems, you have held broken packages.
user@host:~# apt install libmbedtls10
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmbedtls10 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmbedtls10' has no installation candidate


Quote:wget http:// apt.pilight.org/pool/stable/main/l/libmbedx509-0/libmbedx509-0_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedtls10/libmbedtls10_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedcrypto0/libmbedcrypto0_2.6.0-1_armhf.deb
dpkg -i libmbed*.deb

# Install pilight worked
apt-get install pilight


Could you please update https:// manual.pilight.org/installation.html
Because "apt-key add" seem to not work on bullseye and add bullseye to the Note  Angel

Or give some better alternative to add your repository

#update: because I am not able to post links, I added a space behind http(s)// ...
 
Reply
#2
(11-19-2021, 01:10 PM)ChristianK Wrote: Hello I newly found this project, installed my raspi new. 

The Linux Debian Based install failed, because apt-key seems deprecated, so I worked around with:

Code:
nano /etc/apt/sources.list

Quote:# added [trusted=yes]
deb [trusted=yes] http:// apt.pilight.org/ stable main
Code:
user@host:~#  apt-get install pilight
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pilight : Depends: libmbedcrypto0 but it is not going to be installed
          Depends: libmbedtls10 but it is not installable
E: Unable to correct problems, you have held broken packages.
user@host:~# apt install libmbedtls10
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmbedtls10 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmbedtls10' has no installation candidate


Quote:wget http:// apt.pilight.org/pool/stable/main/l/libmbedx509-0/libmbedx509-0_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedtls10/libmbedtls10_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedcrypto0/libmbedcrypto0_2.6.0-1_armhf.deb
dpkg -i libmbed*.deb

# Install pilight worked
apt-get install pilight


Could you please update https:// manual.pilight.org/installation.html
Because "apt-key add" seem to not work on bullseye and add bullseye to the Note  Angel

Or give some better alternative to add your repository

#update: because I am not able to post links, I added a space behind http(s)// ...

Hello,

if anyone else is having problems, this article helped me out:
https: //www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html

The key from https: //apt.pilight.org/pilight.key is an ascii-armored OpenPGP key.

Good luck!

Ps.: I can't post links, too.
 
Reply
#3
(11-19-2021, 01:10 PM)ChristianK Wrote: Hello I newly found this project, installed my raspi new. 

The Linux Debian Based install failed, because apt-key seems deprecated, so I worked around with:

Code:
nano /etc/apt/sources.list

Quote:# added [trusted=yes]
deb [trusted=yes] http:// apt.pilight.org/ stable main
Code:
user@host:~#  apt-get install pilight
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pilight : Depends: libmbedcrypto0 but it is not going to be installed
          Depends: libmbedtls10 but it is not installable
E: Unable to correct problems, you have held broken packages.
user@host:~# apt install libmbedtls10
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libmbedtls10 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmbedtls10' has no installation candidate


Quote:wget http:// apt.pilight.org/pool/stable/main/l/libmbedx509-0/libmbedx509-0_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedtls10/libmbedtls10_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedcrypto0/libmbedcrypto0_2.6.0-1_armhf.deb
dpkg -i libmbed*.deb

# Install pilight worked
apt-get install pilight


Could you please update https:// manual.pilight.org/installation.html
Because "apt-key add" seem to not work on bullseye and add bullseye to the Note  Angel

Or give some better alternative to add your repository

#update: because I am not able to post links, I added a space behind http(s)// ...
Hello,

I am having the same problem with a clean install of Bullseye but cannot fix it.

After i enter:
wget http:// apt.pilight.org/pool/stable/main/l/libmbedx509-0/libmbedx509-0_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedtls10/libmbedtls10_2.6.0-1_armhf.deb
wget http:// apt.pilight.org/pool/stable/main/l/libmbedcrypto0/libmbedcrypto0_2.6.0-1_armhf.deb
dpkg -i libmbed*.deb


The install of pilight gives de folowing errors:
root@raspberrypi:/tmp# apt-get install pilight
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar 
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:
De volgende pakketten hebben niet-voldane vereisten:
 pilight : Vereisten: libmbedcrypto0 maar het is niet installeerbaar
           Vereisten: libmbedtls10 maar het is niet installeerbaar
E: Kan problemen niet verhelpen, u houdt defecte pakketten vast.

I am sorrie it is in dutch but can someone please help me?
 
Reply
#4
In my case this is caused by the fact that I am running the 64 bit version of raspbian bullseye. The libraries that you have to install manually are only compiled for armhf and not for arm64. pilight does not provide these, so I found some alternatives on the web (which are in fact not compiled for raspbian in my case, but still seem to work).

Code:
http:// launchpadlibrarian.net/463535573/libmbedcrypto0_2.2.1-2ubuntu0.3_arm64.deb
http:// security.debian.org/debian-security/pool/updates/main/m/mbedtls/libmbedtls10_2.4.2-1+deb9u4_arm64.deb

This let's you install pilight via apt:

Code:
sudo apt install pilight

When trying to run it though (in my case) it turned out that liblua had the wrong version (5.2 instead of 5.1). To fix it run:

Code:
sudo apt install liblua5.1-0

This let's you start pilight as well. However when trying to use the "gpio-platform" option and setting it to "raspberrypi4" the settings checker complains it cannot find the specified platform while it is listed as a valid platform.

Similar issues had already been observed by other forum members:
https:// forum.pilight.org/showthread.php?tid=3733

I have not yet found a solution for this...

Also it would be nice if pilight fully supported the 64 bit versions of the OSes as well. Unfortunately, that does not seem to be the case at this point...
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight start/stop loop Rschnauzer 1 106 10-27-2022, 10:28 PM
Last Post: Rschnauzer
  pilight-raw changes output format from 7 to 8 Rschnauzer 2 1,495 05-04-2022, 01:32 PM
Last Post: youradultworld
Question pilight stopped working sl4m01 5 2,303 09-16-2021, 01:34 PM
Last Post: orlo11
  how to compile pilight with custom protocol code? am i missing something? stanwebber 2 873 07-05-2021, 03:49 AM
Last Post: stanwebber
  hardware info lost after pilight restart Rschnauzer 3 1,115 03-17-2021, 11:44 AM
Last Post: Rschnauzer
Question pilight nightly webgui offline after some hours fleisch 4 1,576 10-26-2020, 05:19 PM
Last Post: fleisch
  pilight bugs Ascenion 1 1,150 03-23-2020, 06:29 PM
Last Post: curlymo
  [Solved] pilight service crashing on first webserver access after reboot VrahoK 20 7,213 12-21-2019, 09:46 AM
Last Post: curlymo
  pilight-control modify values coolinx 16 5,797 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 4,884 10-07-2019, 08:15 PM
Last Post: blackzombie

Forum Jump:


Browsing: 1 Guest(s)