Apt-get install icinga2 gets Error: icinga2-common is not yet configured

Hello,
I get errors installing icinga2 and don’t know what to do.

I installed icinga2 on my debian 11 vm. At the beginning the most things work find but i made some config errors and decided to uninstall it and make a new start. But now I get the following errors:

apt-get install icinga2

...
libboost-regex1.74.0:amd64 (1.74.0-9) is set up ...
libboost-context1.74.0:amd64 (1.74.0-9) is set up ...
dpkg: Dependency issues prevent configuration of icinga2-bin:
 icinga2-bin depends on icinga2-common (= 2.13.7-1+debian11); but:
  Package icinga2-common is not yet configured.

dpkg: error when editing package icinga2-bin (--configure):
 Dependency problems - remains unconfigured.
libboost-thread1.74.0:amd64 (1.74.0-9) is being set up ...
dpkg: Dependency issues preventing configuration of icinga2:
 icinga2 depends on icinga2-bin (= 2.13.7-1+debian11); but:
  Package icinga2-bin is not yet configured.
 icinga2 depends on icinga2-common (= 2.13.7-1+debian11); but:
  Package icinga2-common is not yet configured.

dpkg: error when editing package icinga2 (--configure):
 Dependency problems - remains unconfigured.
libboost-coroutine1.74.0:amd64 (1.74.0-9) is set up ...
Triggers for man-db (2.9.4-2) are processed ...
Triggers for libc-bin (2.31-13+deb11u5) are processed ...
Errors occurred while processing:
 icinga2-common
 icinga2-bin
 icinga2
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@meurodebian:/etc/apt/sources.list.d# ^C
root@meurodebian:/etc/apt/sources.list.d# apt-get install icinga2-common
Package lists are read... Done
Dependency tree is built... Done
Status information is read in... Done
icinga2-common is already the latest version (2.13.7-1+debian11).
icinga2-common was set as manually installed.
0 updated, 0 reinstalled, 0 to remove and 0 not updated.
3 not completely installed or removed.

Can someone please help.

Is not yet configured looks like it’s partially installed.
Try dpkg-reconfigure icinga2-bin icinga2-common.

1 Like

Thanks, the tip helps me:

I got the following output after: dpkg-reconfigure icinga2-bin icinga2-common

dpkg-reconfigure icinga2-bin icinga2-common
dpkg-query: Package "icinga2-bin" is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archives.
/usr/sbin/dpkg-reconfigure: icinga2-bin is not installed

After that I installed icinga2-bin and ran the command again and now I can install icinga2.

Thanks a lot :slight_smile:

1 Like