Icinga on raspberry

Hi,

I’m getting stuck installing on the PI…

root@Office-pi:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Office-pi:~# sudo apt install icinga2 icingaweb2
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:
 icinga2 : Depends: icinga2-bin (= 2.10.4-1.stretch) but it is not going to be installed
 icingaweb2 : Depends: icingaweb2-common (= 2.6.2-1.stretch) but it is not going to be installed
              Depends: php-xml but it is not installable
              Recommends: apache2 but it is not going to be installed or
                          httpd
              Recommends: php but it is not installable
              Recommends: php-cli but it is not installable
              Recommends: php-curl but it is not installable
              Recommends: php-ldap but it is not installable
              Recommends: php-json but it is not installable
              Recommends: php-intl but it is not installable
              Recommends: php-imagick but it is not installable
              Recommends: icingacli but it is not going to be installed
              Recommends: icingaweb2-module-monitoring but it is not going to be installed
              Recommends: icingaweb2-module-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

root@Office-pi:~# uname -a

Linux Office-pi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

root@Office-pi:~# cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="EMPTY due to forum restrictions for new persons/"
SUPPORT_URL="EMPTY due to forum restrictions for new persons/"
BUG_REPORT_URL="EMPTY due to forum restrictions for new persons/"

Looks like you have the wrong repo enabled there. You’re using the one for Debian 9, that’s 8.

deb http://packages.icinga.com/raspbian icinga-jessie main
deb-src http://packages.icinga.com/raspbian icinga-jessie main

You can check on other things you might need at the download page: https://packages.icinga.com/raspbian/

2 Likes

As I thought when @Binkey posted this as a comment on our blog. Wrong repository, therefor dependencies can not be found…

Thanks @blakehartshorn