• 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
  apt.pilight.org stable Release' is not signed. thomasol 2 137 10 hours ago
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 72 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 494 01-03-2020, 02:15 PM
Last Post: curlymo
Question [Solved] Openweathermap with pilight 7.0-40 doesn't work Seebueb 2 124 01-01-2020, 06:45 PM
Last Post: Seebueb
  [Solved] Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 15 637 12-18-2019, 11:09 AM
Last Post: vanillaice30
  pilight error after update to 8.1.5 on Odroid C2 WitchDoctor 3 304 11-29-2019, 09:56 PM
Last Post: curlymo
  pilight crashing randomly PatiB 7 494 11-16-2019, 10:50 PM
Last Post: curlymo
  [Fixed] RaspberryPi4 pilight 8.1.5 - Send isn't working DominikB1993 4 523 10-18-2019, 10:25 PM
Last Post: DominikB1993
  Real 433Mhz Remote is disturbed by pilight service henne111 2 446 10-06-2019, 06:18 PM
Last Post: wo_rasp
Tongue (solved) pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 5 952 10-03-2019, 01:15 PM
Last Post: fleisch

Forum Jump:


Browsing: 1 Guest(s)