Icinga2 Moduls not running because icingacli outdated

Hi together, currently I have some issues with running icinga2 on a debian buster.

Installed everything via buster package manager, and configured it. After adding the latest buster icinga repos icinga2 updated to the lastest packages.

After updating all packages icinga is running in 2.7.* but it removed the icingacli package.

If I try to install icingacli again I am getting this message:
icingacli : Depends: php-icinga (= 2.6.2-3) but 2.7.3-1.buster is to be installed

But if I would do it like this many packages would be removed:

The following packages will be REMOVED:
icingaweb2 icingaweb2-common icingaweb2-module-monitoring
The following packages will be DOWNGRADED:
php-icinga

How do I get icingacli back on a buster debian with the current debian packages?

All modules based on running with icingacli are currently broken because of the missing package :frowning:

1 Like

Hi !

Can you specify from which Debian version from buster you actually use.

I’ve tried to confirm the Issue but i haven’t had much luck in rebuilding the Issue you’ve had.

I’ve taken a freshly installed buster:

root@buster:~# lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

And performed the following steps … without a previous installed Icinga2 Version.

  1  apt-get update
    2  apt-get upgrade
    3  wget -O - https://packages.icinga.com/icinga.key | apt-key add -
    4  curl https://packages.icinga.com/icinga.key | apt-key add -
    5  apt install gnupg2 -y
    6  curl https://packages.icinga.com/icinga.key | apt-key add -
    7  apt install curl
    8  curl https://packages.icinga.com/icinga.key | apt-key add -
    9  vi /etc/apt/sources.list
   10  apt install vim -y
   11  apt-get update -y
   12  ls
   13  apt install apache2
   14  apt install nagios-plugins-all -y // <= in afterthought 14 & 15 can be omitted.
   15  apt install nagios-plugins-contrib -y
   16  apt install icinga2 -y
   17  apt install icingaweb2 -y
   18  which icingacli
   19  icingacli --version

Can you detail the previous installed icingaweb2 package what was installed before ?

Regards

David

lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Currently I am using this to generate the sources.list entry for icinga updates.

DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); echo "deb https://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> /etc/apt/sources.list.d/${DIST}-icinga.list

Checked again and file was gone. … failed to our own infrastructure… something is deleting my sources.list.d entry :frowning: … maybe puppet :confused:

… adding the list entry again and it is working…
Get:1 https://packages.icinga.com/debian icinga-buster/main amd64 icingacli all 2.7.3-1.buster [33.0 kB]