• 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 for Raspbian Buster (raspberry pi 4) ? starob 31 7,139 2 hours ago
Last Post: PPacman
  pilight switch node in node-red framp 0 228 06-24-2020, 10:01 PM
Last Post: framp
  pilight-control TML 13 890 05-27-2020, 07:51 AM
Last Post: curlymo
  API Requests by HTTP from other devices fore use in pilight scootermacro 2 397 05-10-2020, 08:19 AM
Last Post: scootermacro
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 3,073 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 839 03-08-2020, 12:14 AM
Last Post: beejayf
  pilight cpu usage possibly associated with noticeable sluggishness? hepcat72 4 893 01-28-2020, 08:02 PM
Last Post: hepcat72
  apt.pilight.org stable Release' is not signed. thomasol 2 939 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 686 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 2,008 01-03-2020, 02:15 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)