Icinga / icinga-packaging

Packaging documentation and issues for the official Icinga repository
https://packages.icinga.com
44 stars 15 forks source link

Installation on Debian 12 failed: E: Unable to locate package icingadb-redis #288

Closed Troubadix closed 1 year ago

Troubadix commented 1 year ago

Hi,

I tried a fresh Icinga install on a fresh Debian 12 system.

root@hostname:~# uname -a Linux hostname 6.1.0-9-amd64 Icinga/icinga2#1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

Everything works so far, but installing icingadb-redis is not possible. Package not found.

root@hostname:~# apt install icingadb-redis Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package icingadb-redis

Here is what I did so far:

`root@hostname:~# apt install icinga2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: icinga2-bin icinga2-common icinga2-doc libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0 monitoring-plugins-basic monitoring-plugins-common Suggested packages: vim-icinga2 The following NEW packages will be installed: icinga2 icinga2-bin icinga2-common icinga2-doc libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0 monitoring-plugins-basic monitoring-plugins-common 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 13.2 MB of archives. After this operation, 45.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-context1.74.0 amd64 1.74.0+ds1-21 [219 kB] Get:2 https://packages.icinga.com/debian icinga-bookworm/main amd64 icinga2-common all 2.13.7-1+debian12 [166 kB] Get:3 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-thread1.74.0 amd64 1.74.0+ds1-21 [257 kB] Get:4 https://packages.icinga.com/debian icinga-bookworm/main amd64 icinga2-bin amd64 2.13.7-1+debian12 [3,972 kB] Get:5 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-coroutine1.74.0 amd64 1.74.0+ds1-21 [234 kB] Get:6 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-filesystem1.74.0 amd64 1.74.0+ds1-21 [258 kB] Get:7 https://packages.icinga.com/debian icinga-bookworm/main amd64 icinga2 amd64 2.13.7-1+debian12 [115 kB] Get:8 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-iostreams1.74.0 amd64 1.74.0+ds1-21 [240 kB] Get:9 https://packages.icinga.com/debian icinga-bookworm/main amd64 icinga2-doc all 2.13.7-1+debian12 [6,643 kB] Get:10 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-program-options1.74.0 amd64 1.74.0+ds1-21 [329 kB] Get:11 http://ftp.de.debian.org/debian bookworm/main amd64 libboost-regex1.74.0 amd64 1.74.0+ds1-21 [487 kB] Get:12 http://ftp.de.debian.org/debian bookworm/main amd64 monitoring-plugins-common amd64 2.3.3-5 [38.9 kB] Get:13 http://ftp.de.debian.org/debian bookworm/main amd64 monitoring-plugins-basic amd64 2.3.3-5 [285 kB] Fetched 13.2 MB in 0s (27.7 MB/s) Selecting previously unselected package icinga2-common. (Reading database ... 29006 files and directories currently installed.) Preparing to unpack .../00-icinga2-common_2.13.7-1+debian12_all.deb ... Unpacking icinga2-common (2.13.7-1+debian12) ... Selecting previously unselected package libboost-context1.74.0:amd64. Preparing to unpack .../01-libboost-context1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-context1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-thread1.74.0:amd64. Preparing to unpack .../02-libboost-thread1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-thread1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-coroutine1.74.0:amd64. Preparing to unpack .../03-libboost-coroutine1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-coroutine1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-filesystem1.74.0:amd64. Preparing to unpack .../04-libboost-filesystem1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-filesystem1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-iostreams1.74.0:amd64. Preparing to unpack .../05-libboost-iostreams1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-iostreams1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-program-options1.74.0:amd64. Preparing to unpack .../06-libboost-program-options1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-program-options1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package libboost-regex1.74.0:amd64. Preparing to unpack .../07-libboost-regex1.74.0_1.74.0+ds1-21_amd64.deb ... Unpacking libboost-regex1.74.0:amd64 (1.74.0+ds1-21) ... Selecting previously unselected package icinga2-bin. Preparing to unpack .../08-icinga2-bin_2.13.7-1+debian12_amd64.deb ... Unpacking icinga2-bin (2.13.7-1+debian12) ... Selecting previously unselected package icinga2. Preparing to unpack .../09-icinga2_2.13.7-1+debian12_amd64.deb ... Unpacking icinga2 (2.13.7-1+debian12) ... Selecting previously unselected package icinga2-doc. Preparing to unpack .../10-icinga2-doc_2.13.7-1+debian12_all.deb ... Unpacking icinga2-doc (2.13.7-1+debian12) ... Selecting previously unselected package monitoring-plugins-common. Preparing to unpack .../11-monitoring-plugins-common_2.3.3-5_amd64.deb ... Unpacking monitoring-plugins-common (2.3.3-5) ... Selecting previously unselected package monitoring-plugins-basic. Preparing to unpack .../12-monitoring-plugins-basic_2.3.3-5_amd64.deb ... Unpacking monitoring-plugins-basic (2.3.3-5) ... Setting up libboost-iostreams1.74.0:amd64 (1.74.0+ds1-21) ... Setting up libboost-program-options1.74.0:amd64 (1.74.0+ds1-21) ... Setting up icinga2-common (2.13.7-1+debian12) ... Adding system-user for nagios Created symlink /etc/systemd/system/multi-user.target.wants/icinga2.service → /lib/systemd/system/icinga2.service. Setting up libboost-filesystem1.74.0:amd64 (1.74.0+ds1-21) ... Setting up icinga2-doc (2.13.7-1+debian12) ... Setting up libboost-regex1.74.0:amd64 (1.74.0+ds1-21) ... Setting up libboost-context1.74.0:amd64 (1.74.0+ds1-21) ... Setting up monitoring-plugins-common (2.3.3-5) ... Setting up libboost-thread1.74.0:amd64 (1.74.0+ds1-21) ... Setting up monitoring-plugins-basic (2.3.3-5) ...

Creating config file /etc/nagios-plugins/config/apt.cfg with new version

Creating config file /etc/nagios-plugins/config/dhcp.cfg with new version

Creating config file /etc/nagios-plugins/config/disk.cfg with new version

Creating config file /etc/nagios-plugins/config/dummy.cfg with new version

Creating config file /etc/nagios-plugins/config/ftp.cfg with new version

Creating config file /etc/nagios-plugins/config/http.cfg with new version

Creating config file /etc/nagios-plugins/config/load.cfg with new version

Creating config file /etc/nagios-plugins/config/mail.cfg with new version

Creating config file /etc/nagios-plugins/config/news.cfg with new version

Creating config file /etc/nagios-plugins/config/ntp.cfg with new version

Creating config file /etc/nagios-plugins/config/ping.cfg with new version

Creating config file /etc/nagios-plugins/config/procs.cfg with new version

Creating config file /etc/nagios-plugins/config/real.cfg with new version

Creating config file /etc/nagios-plugins/config/ssh.cfg with new version

Creating config file /etc/nagios-plugins/config/tcp_udp.cfg with new version

Creating config file /etc/nagios-plugins/config/telnet.cfg with new version

Creating config file /etc/nagios-plugins/config/users.cfg with new version Setcap for check_icmp and check_dhcp worked! Setting up libboost-coroutine1.74.0:amd64 (1.74.0+ds1-21) ... Setting up icinga2-bin (2.13.7-1+debian12) ... enabling default icinga2 features Enabling feature checker. Make sure to restart Icinga 2 for these changes to take effect. Enabling feature notification. Make sure to restart Icinga 2 for these changes to take effect. Enabling feature mainlog. Make sure to restart Icinga 2 for these changes to take effect. Setting up icinga2 (2.13.7-1+debian12) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9) ... root@hostname:~# icinga2 daemon -C [2023-06-23 07:24:44 +0200] information/cli: Icinga application loader (version: r2.13.7-1) [2023-06-23 07:24:44 +0200] information/cli: Loading configuration file(s). [2023-06-23 07:24:44 +0200] information/ConfigItem: Committing config item(s). [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 13 Notifications. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 IcingaApplication. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 2 HostGroups. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 Host. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 FileLogger. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 CheckerComponent. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 3 Zones. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 Endpoint. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 NotificationComponent. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 244 CheckCommands. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 UserGroup. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 3 ServiceGroups. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 3 TimePeriods. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 User. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 1 ScheduledDowntime. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 12 Services. [2023-06-23 07:24:44 +0200] information/ConfigItem: Instantiated 2 NotificationCommands. [2023-06-23 07:24:44 +0200] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars' [2023-06-23 07:24:44 +0200] information/cli: Finished validating the configuration file(s). root@hostname:~# apt install monitoring-plugins Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbi1 libgpgme11 libgpm2 libldb2 libmariadb3 libncurses6 libnet-snmp-perl libpq5 libpython3.11 libradcli4 libsensors-config libsensors5 libsmbclient libsnmp-base libsnmp40 libtalloc2 libtdb1 libtevent0 liburiparser1 libwbclient0 mariadb-common monitoring-plugins-standard mysql-common python3-gpg python3-ldb python3-samba python3-talloc python3-tdb rpcbind samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient snmp Suggested packages: lrzip cups-common gpm libcrypt-des-perl libdigest-hmac-perl libio-socket-inet6-perl lm-sensors snmp-mibs-downloader nagios-plugins-contrib fping postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light qstat heimdal-clients python3-markdown python3-dnspython cifs-utils The following NEW packages will be installed: libarchive13 libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbi1 libgpgme11 libgpm2 libldb2 libmariadb3 libncurses6 libnet-snmp-perl libpq5 libpython3.11 libradcli4 libsensors-config libsensors5 libsmbclient libsnmp-base libsnmp40 libtalloc2 libtdb1 libtevent0 liburiparser1 libwbclient0 mariadb-common monitoring-plugins monitoring-plugins-standard mysql-common python3-gpg python3-ldb python3-samba python3-talloc python3-tdb rpcbind samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient snmp 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After this operation, 82.6 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.de.debian.org/debian bookworm/main amd64 rpcbind amd64 1.2.6-6+b1 [48.3 kB] Get:2 http://ftp.de.debian.org/debian bookworm/main amd64 libarchive13 amd64 3.6.2-1 [343 kB] Get:3 http://ftp.de.debian.org/debian bookworm/main amd64 libavahi-common-data amd64 0.8-10 [107 kB] Get:4 http://ftp.de.debian.org/debian bookworm/main amd64 libavahi-common3 amd64 0.8-10 [41.6 kB] Get:5 http://ftp.de.debian.org/debian bookworm/main amd64 libavahi-client3 amd64 0.8-10 [45.5 kB] Get:6 http://ftp.de.debian.org/debian bookworm/main amd64 libcups2 amd64 2.4.2-3 [244 kB] Get:7 http://ftp.de.debian.org/debian bookworm/main amd64 libdbi1 amd64 0.9.0-6 [28.9 kB] Get:8 http://ftp.de.debian.org/debian bookworm/main amd64 libgpgme11 amd64 1.18.0-3+b1 [300 kB] Get:9 http://ftp.de.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] Get:10 http://ftp.de.debian.org/debian bookworm/main amd64 libtalloc2 amd64 2.4.0-f2 [25.6 kB] Get:11 http://ftp.de.debian.org/debian bookworm/main amd64 libtdb1 amd64 1.4.8-2 [44.5 kB] Get:12 http://ftp.de.debian.org/debian bookworm/main amd64 libtevent0 amd64 0.14.1-1 [37.9 kB] Get:13 http://ftp.de.debian.org/debian bookworm/main amd64 libldb2 amd64 2:2.6.2+samba4.17.8+dfsg-2 [160 kB] Get:14 http://ftp.de.debian.org/debian bookworm/main amd64 mysql-common all 5.8+1.1.0 [6,636 B] Get:15 http://ftp.de.debian.org/debian bookworm/main amd64 mariadb-common all 1:10.11.3-1 [24.0 kB] Get:16 http://ftp.de.debian.org/debian bookworm/main amd64 libmariadb3 amd64 1:10.11.3-1 [172 kB] Get:17 http://ftp.de.debian.org/debian bookworm/main amd64 libncurses6 amd64 6.4-4 [103 kB] Get:18 http://ftp.de.debian.org/debian bookworm/main amd64 libnet-snmp-perl all 6.0.1-7 [94.7 kB] Get:19 http://ftp.de.debian.org/debian bookworm/main amd64 libpq5 amd64 15.3-0+deb12u1 [185 kB] Get:20 http://ftp.de.debian.org/debian bookworm/main amd64 libpython3.11 amd64 3.11.2-6 [1,988 kB] Get:21 http://ftp.de.debian.org/debian bookworm/main amd64 libradcli4 amd64 1.2.11-1+b2 [41.5 kB] Get:22 http://ftp.de.debian.org/debian bookworm/main amd64 libsensors-config all 1:3.6.0-7.1 [14.3 kB] Get:23 http://ftp.de.debian.org/debian bookworm/main amd64 libsensors5 amd64 1:3.6.0-7.1 [34.2 kB] Get:24 http://ftp.de.debian.org/debian bookworm/main amd64 libwbclient0 amd64 2:4.17.8+dfsg-2 [51.4 kB] Get:25 http://ftp.de.debian.org/debian bookworm/main amd64 samba-libs amd64 2:4.17.8+dfsg-2 [5,640 kB] Get:26 http://ftp.de.debian.org/debian bookworm/main amd64 libsmbclient amd64 2:4.17.8+dfsg-2 [80.2 kB] Get:27 http://ftp.de.debian.org/debian bookworm/main amd64 libsnmp-base all 5.9.3+dfsg-2 [1,753 kB] Get:28 http://ftp.de.debian.org/debian bookworm/main amd64 libsnmp40 amd64 5.9.3+dfsg-2 [2,556 kB] Get:29 http://ftp.de.debian.org/debian bookworm/main amd64 liburiparser1 amd64 0.9.7+dfsg-2 [43.8 kB] Get:30 http://ftp.de.debian.org/debian bookworm/main amd64 monitoring-plugins-standard amd64 2.3.3-5 [171 kB] Get:31 http://ftp.de.debian.org/debian bookworm/main amd64 monitoring-plugins all 2.3.3-5 [10.8 kB] Get:32 http://ftp.de.debian.org/debian bookworm/main amd64 python3-gpg amd64 1.18.0-3+b1 [363 kB] Get:33 http://ftp.de.debian.org/debian bookworm/main amd64 python3-ldb amd64 2:2.6.2+samba4.17.8+dfsg-2 [58.3 kB] Get:34 http://ftp.de.debian.org/debian bookworm/main amd64 python3-tdb amd64 1.4.8-2 [16.5 kB] Get:35 http://ftp.de.debian.org/debian bookworm/main amd64 python3-talloc amd64 2.4.0-f2 [14.5 kB] Get:36 http://ftp.de.debian.org/debian bookworm/main amd64 python3-samba amd64 2:4.17.8+dfsg-2 [2,832 kB] Get:37 http://ftp.de.debian.org/debian bookworm/main amd64 samba-common all 2:4.17.8+dfsg-2 [83.3 kB] Get:38 http://ftp.de.debian.org/debian bookworm/main amd64 samba-common-bin amd64 2:4.17.8+dfsg-2 [1,178 kB] Get:39 http://ftp.de.debian.org/debian bookworm/main amd64 samba-dsdb-modules amd64 2:4.17.8+dfsg-2 [314 kB] Get:40 http://ftp.de.debian.org/debian bookworm/main amd64 smbclient amd64 2:4.17.8+dfsg-2 [438 kB] Get:41 http://ftp.de.debian.org/debian bookworm/main amd64 snmp amd64 5.9.3+dfsg-2 [172 kB] Fetched 19.9 MB in 1s (13.7 MB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package rpcbind. (Reading database ... 29365 files and directories currently installed.) Preparing to unpack .../00-rpcbind_1.2.6-6+b1_amd64.deb ... Unpacking rpcbind (1.2.6-6+b1) ... Selecting previously unselected package libarchive13:amd64. Preparing to unpack .../01-libarchive13_3.6.2-1_amd64.deb ... Unpacking libarchive13:amd64 (3.6.2-1) ... Selecting previously unselected package libavahi-common-data:amd64. Preparing to unpack .../02-libavahi-common-data_0.8-10_amd64.deb ... Unpacking libavahi-common-data:amd64 (0.8-10) ... Selecting previously unselected package libavahi-common3:amd64. Preparing to unpack .../03-libavahi-common3_0.8-10_amd64.deb ... Unpacking libavahi-common3:amd64 (0.8-10) ... Selecting previously unselected package libavahi-client3:amd64. Preparing to unpack .../04-libavahi-client3_0.8-10_amd64.deb ... Unpacking libavahi-client3:amd64 (0.8-10) ... Selecting previously unselected package libcups2:amd64. Preparing to unpack .../05-libcups2_2.4.2-3_amd64.deb ... Unpacking libcups2:amd64 (2.4.2-3) ... Selecting previously unselected package libdbi1:amd64. Preparing to unpack .../06-libdbi1_0.9.0-6_amd64.deb ... Unpacking libdbi1:amd64 (0.9.0-6) ... Selecting previously unselected package libgpgme11:amd64. Preparing to unpack .../07-libgpgme11_1.18.0-3+b1_amd64.deb ... Unpacking libgpgme11:amd64 (1.18.0-3+b1) ... Selecting previously unselected package libgpm2:amd64. Preparing to unpack .../08-libgpm2_1.20.7-10+b1_amd64.deb ... Unpacking libgpm2:amd64 (1.20.7-10+b1) ... Selecting previously unselected package libtalloc2:amd64. Preparing to unpack .../09-libtalloc2_2.4.0-f2_amd64.deb ... Unpacking libtalloc2:amd64 (2.4.0-f2) ... Selecting previously unselected package libtdb1:amd64. Preparing to unpack .../10-libtdb1_1.4.8-2_amd64.deb ... Unpacking libtdb1:amd64 (1.4.8-2) ... Selecting previously unselected package libtevent0:amd64. Preparing to unpack .../11-libtevent0_0.14.1-1_amd64.deb ... Unpacking libtevent0:amd64 (0.14.1-1) ... Selecting previously unselected package libldb2:amd64. Preparing to unpack .../12-libldb2_2%3a2.6.2+samba4.17.8+dfsg-2_amd64.deb ... Unpacking libldb2:amd64 (2:2.6.2+samba4.17.8+dfsg-2) ... Selecting previously unselected package mysql-common. Preparing to unpack .../13-mysql-common_5.8+1.1.0_all.deb ... Unpacking mysql-common (5.8+1.1.0) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../14-mariadb-common_1%3a10.11.3-1_all.deb ... Unpacking mariadb-common (1:10.11.3-1) ... Selecting previously unselected package libmariadb3:amd64. Preparing to unpack .../15-libmariadb3_1%3a10.11.3-1_amd64.deb ... Unpacking libmariadb3:amd64 (1:10.11.3-1) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../16-libncurses6_6.4-4_amd64.deb ... Unpacking libncurses6:amd64 (6.4-4) ... Selecting previously unselected package libnet-snmp-perl. Preparing to unpack .../17-libnet-snmp-perl_6.0.1-7_all.deb ... Unpacking libnet-snmp-perl (6.0.1-7) ... Selecting previously unselected package libpq5:amd64. Preparing to unpack .../18-libpq5_15.3-0+deb12u1_amd64.deb ... Unpacking libpq5:amd64 (15.3-0+deb12u1) ... Selecting previously unselected package libpython3.11:amd64. Preparing to unpack .../19-libpython3.11_3.11.2-6_amd64.deb ... Unpacking libpython3.11:amd64 (3.11.2-6) ... Selecting previously unselected package libradcli4. Preparing to unpack .../20-libradcli4_1.2.11-1+b2_amd64.deb ... Unpacking libradcli4 (1.2.11-1+b2) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../21-libsensors-config_1%3a3.6.0-7.1_all.deb ... Unpacking libsensors-config (1:3.6.0-7.1) ... Selecting previously unselected package libsensors5:amd64. Preparing to unpack .../22-libsensors5_1%3a3.6.0-7.1_amd64.deb ... Unpacking libsensors5:amd64 (1:3.6.0-7.1) ... Selecting previously unselected package libwbclient0:amd64. Preparing to unpack .../23-libwbclient0_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking libwbclient0:amd64 (2:4.17.8+dfsg-2) ... Selecting previously unselected package samba-libs:amd64. Preparing to unpack .../24-samba-libs_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking samba-libs:amd64 (2:4.17.8+dfsg-2) ... Selecting previously unselected package libsmbclient:amd64. Preparing to unpack .../25-libsmbclient_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking libsmbclient:amd64 (2:4.17.8+dfsg-2) ... Selecting previously unselected package libsnmp-base. Preparing to unpack .../26-libsnmp-base_5.9.3+dfsg-2_all.deb ... Unpacking libsnmp-base (5.9.3+dfsg-2) ... Selecting previously unselected package libsnmp40:amd64. Preparing to unpack .../27-libsnmp40_5.9.3+dfsg-2_amd64.deb ... Unpacking libsnmp40:amd64 (5.9.3+dfsg-2) ... Selecting previously unselected package liburiparser1:amd64. Preparing to unpack .../28-liburiparser1_0.9.7+dfsg-2_amd64.deb ... Unpacking liburiparser1:amd64 (0.9.7+dfsg-2) ... Selecting previously unselected package monitoring-plugins-standard. Preparing to unpack .../29-monitoring-plugins-standard_2.3.3-5_amd64.deb ... Unpacking monitoring-plugins-standard (2.3.3-5) ... Selecting previously unselected package monitoring-plugins. Preparing to unpack .../30-monitoring-plugins_2.3.3-5_all.deb ... Unpacking monitoring-plugins (2.3.3-5) ... Selecting previously unselected package python3-gpg. Preparing to unpack .../31-python3-gpg_1.18.0-3+b1_amd64.deb ... Unpacking python3-gpg (1.18.0-3+b1) ... Selecting previously unselected package python3-ldb. Preparing to unpack .../32-python3-ldb_2%3a2.6.2+samba4.17.8+dfsg-2_amd64.deb ... Unpacking python3-ldb (2:2.6.2+samba4.17.8+dfsg-2) ... Selecting previously unselected package python3-tdb. Preparing to unpack .../33-python3-tdb_1.4.8-2_amd64.deb ... Unpacking python3-tdb (1.4.8-2) ... Selecting previously unselected package python3-talloc:amd64. Preparing to unpack .../34-python3-talloc_2.4.0-f2_amd64.deb ... Unpacking python3-talloc:amd64 (2.4.0-f2) ... Selecting previously unselected package python3-samba. Preparing to unpack .../35-python3-samba_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking python3-samba (2:4.17.8+dfsg-2) ... Selecting previously unselected package samba-common. Preparing to unpack .../36-samba-common_2%3a4.17.8+dfsg-2_all.deb ... Unpacking samba-common (2:4.17.8+dfsg-2) ... Selecting previously unselected package samba-common-bin. Preparing to unpack .../37-samba-common-bin_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking samba-common-bin (2:4.17.8+dfsg-2) ... Selecting previously unselected package samba-dsdb-modules:amd64. Preparing to unpack .../38-samba-dsdb-modules_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking samba-dsdb-modules:amd64 (2:4.17.8+dfsg-2) ... Selecting previously unselected package smbclient. Preparing to unpack .../39-smbclient_2%3a4.17.8+dfsg-2_amd64.deb ... Unpacking smbclient (2:4.17.8+dfsg-2) ... Selecting previously unselected package snmp. Preparing to unpack .../40-snmp_5.9.3+dfsg-2_amd64.deb ... Unpacking snmp (5.9.3+dfsg-2) ... Setting up mysql-common (5.8+1.1.0) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libgpm2:amd64 (1.20.7-10+b1) ... Setting up libdbi1:amd64 (0.9.0-6) ... Setting up libpython3.11:amd64 (3.11.2-6) ... Setting up libarchive13:amd64 (3.6.2-1) ... Setting up libsnmp-base (5.9.3+dfsg-2) ... Setting up libnet-snmp-perl (6.0.1-7) ... Setting up libtdb1:amd64 (1.4.8-2) ... Setting up libsensors-config (1:3.6.0-7.1) ... Setting up libpq5:amd64 (15.3-0+deb12u1) ... Setting up rpcbind (1.2.6-6+b1) ... Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service. Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket. Setting up samba-common (2:4.17.8+dfsg-2) ...

Creating config file /etc/samba/smb.conf with new version Setting up libgpgme11:amd64 (1.18.0-3+b1) ... Setting up libwbclient0:amd64 (2:4.17.8+dfsg-2) ... Setting up monitoring-plugins-standard (2.3.3-5) ...

Creating config file /etc/nagios-plugins/config/breeze.cfg with new version

Creating config file /etc/nagios-plugins/config/curl-http.cfg with new version

Creating config file /etc/nagios-plugins/config/disk-smb.cfg with new version

Creating config file /etc/nagios-plugins/config/dns.cfg with new version

Creating config file /etc/nagios-plugins/config/flexlm.cfg with new version

Creating config file /etc/nagios-plugins/config/fping.cfg with new version

Creating config file /etc/nagios-plugins/config/games.cfg with new version

Creating config file /etc/nagios-plugins/config/hppjd.cfg with new version

Creating config file /etc/nagios-plugins/config/ifstatus.cfg with new version

Creating config file /etc/nagios-plugins/config/ldap.cfg with new version

Creating config file /etc/nagios-plugins/config/mailq.cfg with new version

Creating config file /etc/nagios-plugins/config/mrtg.cfg with new version

Creating config file /etc/nagios-plugins/config/mysql.cfg with new version

Creating config file /etc/nagios-plugins/config/netware.cfg with new version

Creating config file /etc/nagios-plugins/config/nt.cfg with new version

Creating config file /etc/nagios-plugins/config/pgsql.cfg with new version

Creating config file /etc/nagios-plugins/config/radius.cfg with new version

Creating config file /etc/nagios-plugins/config/rpc-nfs.cfg with new version

Creating config file /etc/nagios-plugins/config/snmp.cfg with new version Setting up monitoring-plugins (2.3.3-5) ... Setting up libtalloc2:amd64 (2.4.0-f2) ... Setting up mariadb-common (1:10.11.3-1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up python3-tdb (1.4.8-2) ... Setting up libtevent0:amd64 (0.14.1-1) ... Setting up python3-gpg (1.18.0-3+b1) ... Setting up libradcli4 (1.2.11-1+b2) ... Setting up libavahi-common-data:amd64 (0.8-10) ... Setting up libncurses6:amd64 (6.4-4) ... Setting up libmariadb3:amd64 (1:10.11.3-1) ... Setting up libsensors5:amd64 (1:3.6.0-7.1) ... Setting up liburiparser1:amd64 (0.9.7+dfsg-2) ... Setting up libldb2:amd64 (2:2.6.2+samba4.17.8+dfsg-2) ... Setting up python3-talloc:amd64 (2.4.0-f2) ... Setting up libavahi-common3:amd64 (0.8-10) ... Setting up libsnmp40:amd64 (5.9.3+dfsg-2) ... Setting up python3-ldb (2:2.6.2+samba4.17.8+dfsg-2) ... Setting up libavahi-client3:amd64 (0.8-10) ... Setting up samba-libs:amd64 (2:4.17.8+dfsg-2) ... Setting up snmp (5.9.3+dfsg-2) ... Setting up libsmbclient:amd64 (2:4.17.8+dfsg-2) ... Setting up smbclient (2:4.17.8+dfsg-2) ... Setting up libcups2:amd64 (2.4.2-3) ... Setting up samba-dsdb-modules:amd64 (2:4.17.8+dfsg-2) ... Setting up python3-samba (2:4.17.8+dfsg-2) ... Setting up samba-common-bin (2:4.17.8+dfsg-2) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9) ... root@hostname:~# vi /etc/icinga2/conf.d/api-users.conf root@hostname:~# icinga2 api setup information/cli: Generating new CA. information/base: Writing private key to '/var/lib/icinga2/ca//ca.key'. information/base: Writing X509 certificate to '/var/lib/icinga2/ca//ca.crt'. information/cli: Generating new CSR in '/var/lib/icinga2/certs//hostname.ds.db.de.csr'. information/base: Writing private key to '/var/lib/icinga2/certs//hostname.ds.db.de.key'. information/base: Writing certificate signing request to '/var/lib/icinga2/certs//hostname.ds.db.de.csr'. information/cli: Signing CSR with CA and writing certificate to '/var/lib/icinga2/certs//hostname.ds.db.de.crt'. information/pki: Writing certificate to file '/var/lib/icinga2/certs//hostname.ds.db.de.crt'. information/cli: Copying CA certificate to '/var/lib/icinga2/certs//ca.crt'. information/cli: Adding new ApiUser 'root' in '/etc/icinga2/conf.d/api-users.conf'. information/cli: Reading '/etc/icinga2/icinga2.conf'. information/cli: Enabling the 'api' feature. Enabling feature api. Make sure to restart Icinga 2 for these changes to take effect. information/cli: Updating 'NodeName' constant in '/etc/icinga2/constants.conf'. information/cli: Created backup file '/etc/icinga2/constants.conf.orig'. information/cli: Updating 'ZoneName' constant in '/etc/icinga2/constants.conf'. information/cli: Backup file '/etc/icinga2/constants.conf.orig' already exists. Skipping backup. Done.

Now restart your Icinga 2 daemon to finish the installation!

root@hostname:~# systemctl restart icinga2 root@hostname:~# apt install icingadb-redis Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package icingadb-redis root@hostname:~# systemctl enable --now icingadb-redis Failed to enable unit: Unit file icingadb-redis.service does not exist. `

Any idea what the problem is?

Thanks.

Troubadix commented 1 year ago

Changed /etc/apt/sources.list.d/bookworm-icinga.list "bookworm" to "bullseye" and tried again Now libssl1.1 is missing - downloaded and installed by hand as it is not included in bookworm, now icingadb-redis installs just fine.

SapuSeven commented 1 year ago

Just ran into the same issue. To fix the libssl1 error I also needed to change the security repository in /etc/apt/sources.list to bullseye-security.

julianbrost commented 1 year ago

Mixing packages from different Debian releases generally isn't a good idea unless you know exactly what you're doing.

I also needed to change the security repository in /etc/apt/sources.list to bullseye-security.

Which means you might miss some security updates provided by Debian.

The safe way is to wait for the icingadb-redis package to be properly released for Debian 12.

SapuSeven commented 1 year ago

@julianbrost you're right, I should have mentioned that I changed all repositories back to "bookworm" after installing everything.

htriem commented 1 year ago

Version 7.0.12 of IcingaDB Redis now has been released for all supported OS, which includes Debian 12. You should be able to get it from the official repositories at packages.icinga.com now, so I'll close this.

dahekars commented 1 year ago

hello all, i am having this issue on my ubuntu 22.04

julianbrost commented 1 year ago

The icingadb-redis package was uploaded to our Ubuntu 22.04 repo last week and seems to work fine:

root@fbdf7c9cd338:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@fbdf7c9cd338:~# apt policy icingadb-redis
icingadb-redis:
  Installed: (none)
  Candidate: 7.0.12-1+ubuntu22.04
  Version table:
     7.0.12-1+ubuntu22.04 500
        500 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 Packages
     7.0.5-1.jammy 500
        500 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 Packages
     7.0.2-1.jammy 500
        500 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 Packages
root@fbdf7c9cd338:~# apt install icingadb-redis
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  icingadb-redis-server icingadb-redis-tools libjemalloc2 liblzf1
Suggested packages:
  ruby-redis
The following NEW packages will be installed:
  icingadb-redis icingadb-redis-server icingadb-redis-tools libjemalloc2 liblzf1
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1584 kB of archives.
After this operation, 7619 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 icingadb-redis-tools amd64 7.0.12-1+ubuntu22.04 [1214 kB]
Get:2 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 icingadb-redis-server amd64 7.0.12-1+ubuntu22.04 [85.7 kB]
Get:3 https://packages.icinga.com/ubuntu icinga-jammy/main amd64 icingadb-redis all 7.0.12-1+ubuntu22.04 [36.8 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjemalloc2 amd64 5.2.1-4ubuntu1 [240 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 liblzf1 amd64 3.6-3 [7444 B]
Fetched 1584 kB in 1s (2328 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libjemalloc2:amd64.
(Reading database ... 25128 files and directories currently installed.)
Preparing to unpack .../libjemalloc2_5.2.1-4ubuntu1_amd64.deb ...
Unpacking libjemalloc2:amd64 (5.2.1-4ubuntu1) ...
Selecting previously unselected package liblzf1:amd64.
Preparing to unpack .../liblzf1_3.6-3_amd64.deb ...
Unpacking liblzf1:amd64 (3.6-3) ...
Selecting previously unselected package icingadb-redis-tools.
Preparing to unpack .../icingadb-redis-tools_7.0.12-1+ubuntu22.04_amd64.deb ...
Unpacking icingadb-redis-tools (7.0.12-1+ubuntu22.04) ...
Selecting previously unselected package icingadb-redis-server.
Preparing to unpack .../icingadb-redis-server_7.0.12-1+ubuntu22.04_amd64.deb ...
Unpacking icingadb-redis-server (7.0.12-1+ubuntu22.04) ...
Selecting previously unselected package icingadb-redis.
Preparing to unpack .../icingadb-redis_7.0.12-1+ubuntu22.04_all.deb ...
Unpacking icingadb-redis (7.0.12-1+ubuntu22.04) ...
Setting up libjemalloc2:amd64 (5.2.1-4ubuntu1) ...
Setting up liblzf1:amd64 (3.6-3) ...
Setting up icingadb-redis-tools (7.0.12-1+ubuntu22.04) ...
Setting up icingadb-redis-server (7.0.12-1+ubuntu22.04) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up icingadb-redis (7.0.12-1+ubuntu22.04) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

So what exactly is the problem you're having?