• 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
Dependency issue while installing pilight 8 from repository
#1
Hi I'd like to install pilight 8 on a Raspberry Pi 2 running Raspbian Lite Stretch (2017-09-07 image), I experience dependency issues.

Code:
Kernel version:
root@pi2akosone:~# uname -a
Linux pi2akosone 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

I don't want nightlies, just stable, so here's what my sources list looks like:

Code:
root@pi2akosone:~# cat /etc/apt/sources.list.d/pilight.list
deb http://apt.pilight.org/ stable main

After a successful "apt-get update && apt-get upgrade", I check what version would be installed from the stable repo:

Code:
root@pi2akosone:~# apt-cache policy pilight
pilight:
  Installed: (none)
  Candidate: 8.0.1
  Version table:
     8.0.1 500
        500 http://apt.pilight.org stable/main armhf Packages
     8.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     7.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     6.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     5.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     4.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     3.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     2.1 500
        500 http://apt.pilight.org stable/main armhf Packages
     2.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     1.0 500
        500 http://apt.pilight.org stable/main armhf Packages

Okay, version 8.0.1 would be perfect for me, so I try to install it:

Code:
root@pi2akosone:~# apt-get install pilight
Reading package lists... Done
Building dependency tree      
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: pilight-webgui (>= 8.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Seems like it needs pilight-webgui as a dependency, but why can't it install it together? Anyway, I checked if there's pilight-webgui in the repo (and what version):

Code:
root@pi2akosone:~# apt-cache policy pilight-webgui
pilight-webgui:
  Installed: (none)
  Candidate: 8.0
  Version table:
     8.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     7.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     6.0 500
        500 http://apt.pilight.org stable/main armhf Packages
     5.0 500
        500 http://apt.pilight.org stable/main armhf Packages

Okay, pilight-webgui 8.0 should be fine, so I tried to install pilight-webgui to resolve dependency issue, but I ran into a dependency of pilight.

Code:
root@pi2akosone:~# apt-get install pilight-webgui
Reading package lists... Done
Building dependency tree      
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-webgui : Depends: pilight (>= 8.0.1-3-gf76d43ca) but it is not going to be installed or
                           pilight-dbg (>= 8.0.1-3-gf76d43ca) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I've tried the same process while the nightly repo was added in the sources list, but didn't help, same outcome.

Can you please advise?
 
Reply
#2
What happens if you do

Code:
sudo apt-get install pilight pilight-webgui

i.e. try to install both packages at the same time?

Well, nvm, just tried installing pilight 8.0 myself and I can report that it's currently impossible Big Grin

The problem probably lies in the clusterfuck that is dependency versions for the pilight and pilight-webgui packages. pilight-webgui depends on some pilight >= 8.0.1-3-blablabla, but only pilight=8.0.1 is available, and thus apt-get refuses to go about installing anything pilight related.

@curlymo plz fix Wink
 
Reply
#3
Hello, I experience the same issue with 8.0 install, I have tested a temporary fix with the lower vesrion install command:
Code:
apt-get install pilight=6.0 pilight-webgui=6.0
then afterwards
Code:
apt-get upgrade
blocks on the same issue --> no upgrade to 8 Big Grin
 
Reply
#4
Should be fixed.
 
Reply
#5
Works again, thanks! Big Grin
 
Reply
#6
I can also confirm it works, thanks @pilino1234 for testing and @curlymo for fixing the issue!
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-debug format Rschnauzer 2 188 12-17-2020, 07:09 PM
Last Post: Rschnauzer
  pilight-flash not working danny 14 2,367 12-12-2020, 10:00 AM
Last Post: tox
  pilight does not start, Deamon is not found. Dekkertje 6 281 12-08-2020, 06:55 PM
Last Post: Dekkertje
  Failed pilight-send that say they succeeded hepcat72 2 191 12-05-2020, 05:30 PM
Last Post: hepcat72
  apt.pilight.org/dists/stable/main/binary 301 Moved Permanently Rschnauzer 6 437 11-23-2020, 01:49 PM
Last Post: Rschnauzer
  bridging pilight and mosquitto hansrijn2 5 673 10-26-2020, 06:31 PM
Last Post: hansrijn2
  problem publish to pilight MQTT server Emiks5 4 884 08-31-2020, 07:45 PM
Last Post: Emiks5
  pilight for Raspbian Buster (raspberry pi 4) ? starob 32 11,931 08-10-2020, 09:12 AM
Last Post: simanuel
  pilight switch node in node-red framp 0 744 06-24-2020, 10:01 PM
Last Post: framp
  pilight-control TML 13 2,288 05-27-2020, 07:51 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)