Unable to locate package icingadb-redis

System information:
Ubuntu
Ubuntu 20.04.6 LTS
Release:20.04
Codename:focal

Fresh VM creation and following documentation to.install Icinga2 @ https://icinga.com/docs/icinga-2/latest/doc/02-installation/02-Ubuntu/.

  • Successfully add repositories as per documentation
  • Successfully Installed Icinga 2 as per docs
  • icinga2 daemon -C : No errors
  • Successfully installed monitoring-plugins
  • Successfully setup Icinga 2 api (no errors)
  • Fails when following the documentation to install Icinga DB Redis Package
    I get the following error: “Unable to locate package icingadb-redis”

This is repeatable. I can use snapshot restore before any installation and follow the documentation to get the same error

What’s your icinga2 version?

icinga2 - The Icinga 2 network monitoring daemon (version: r2.11.2-1)

Copyright (c) 2012-2024 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: Ubuntu
Platform version: 20.04.6 LTS (Focal Fossa)
Kernel: Linux
Kernel version: 5.4.0-187-generic
Architecture: x86_64

Build information:
Compiler: GNU 9.2.1
Build host: lcy01-amd64-022

Application information:

General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pi

you did not add the official icinga repo. 2.11 is the version in the ubuntu repo not the one from packages.icinga.com

https://icinga.com/docs/icinga-2/latest/doc/02-installation/02-Ubuntu/#ubuntu-repository

That was the very documentation I followed.
However this time, I did not run the commands using “SUDO”

and instead I logged in as root and ran the very same commands. I don’t know what I did wrong running as SUDO.

This time I successfully installed the DB Redis Package.
Thank You

1 Like