Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2k stars 574 forks source link

RHEL Installation of icinga2-2.14.2-1 ERROR - old Boost dependencies #10088

Closed n35k3nd1r closed 3 months ago

n35k3nd1r commented 3 months ago

Installation of Icinga / latest with RPM returned an error with latest RHEL 8 / EPEL 8 Release

Error from DNF:

Last metadata expiration check: 0:14:48 ago on Wed Jun 12 21:38:32 2024.
Error: 
 Problem: package icinga2-2.14.2-1.el8.x86_64 from icinga-stable-release requires icinga2-bin = 2.14.2-1.el8, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libboost_atomic.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_chrono.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_context.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_coroutine.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_date_time.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_filesystem.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_program_options.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_system.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_thread.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
  - nothing provides libboost_iostreams.so.1.66.0()(64bit) needed by icinga2-bin-2.14.2-1.el8.x86_64 from icinga-stable-release
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

To Reproduce

Clean RHEL 8 Installation (latest)

Perform Installation Guide: https://icinga.com/docs/icinga-2/latest/doc/02-installation/06-RHEL/

Problem appears with: dnf install icinga2

n35k3nd1r commented 3 months ago

EPEL Release Includes follow Boost Versions: boost148 boost169 source: https://packages.fedoraproject.org/search?query=boost

yhabteab commented 3 months ago

Hi, thanks for reporting! Did you enabled the AppStream repository? This boost version is not from EPEL, but from the RHEL AppStream repository.

[root@7635d0354e2b /]# dnf repolist enabled | grep appstream
rhel-8-for-x86_64-appstream-rpms         Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
n35k3nd1r commented 3 months ago

Thank you very much :) Appstream was the problem.