11-04-2017, 03:15 PM
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.
I don't want nightlies, just stable, so here's what my sources list looks like:
After a successful "apt-get update && apt-get upgrade", I check what version would be installed from the stable repo:
Okay, version 8.0.1 would be perfect for me, so I try to install it:
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):
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.
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?
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?