Sanjeeth
(Sanjeeth)
September 25, 2019, 2:58pm
1
Dear Team,
I have installed and configured icinga2 on CentOS as a testing system. Although, when I install a production system I am facing dependency errors.
optional rpms for rhel7 have been enabled. Below is the error faced.
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_context.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_program_options.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_date_time.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_regex.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_coroutine.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_thread.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_filesystem.so.1.69.0()(64bit)
Error: Package: icinga2-bin-2.11.0-1.el7.icinga.x86_64 (icinga-stable-release)
Requires: libboost_system.so.1.69.0()(64bit)
Could someone let me know what needs to be done with respect to RHEL 7 install?
Regards,
Sanjeeth
dnsmichi
(Michael Friedrich)
September 25, 2019, 3:12pm
2
Sanjeeth
(Sanjeeth)
September 25, 2019, 3:19pm
3
Hi Micheal,
Thank you for the reply. I have tried these already but still the same.
yum list | grep epel
epel-release.noarch 7-11 installed
subscription-manager repos --enable rhel-7-server-optional-rpms
Repository ‘rhel-7-server-optional-rpms’ is enabled for this system.
Regards,
Sanjeeth
dnsmichi
(Michael Friedrich)
September 25, 2019, 3:24pm
4
Hi,
I guess, you did a yum makecache
to refresh the repository metadata cache already?
Cheers,
Michael
Sanjeeth
(Sanjeeth)
September 26, 2019, 8:09am
5
Yes Michael. That is right. Still couldn’t get the libraries to install though.
Regards,
Sanjeeth
gkoutsog
(George K)
September 26, 2019, 8:40am
6
Are you sure you are not mixing RHEL and CentOS packs, they are compatible like 99% of the time but that 1% can hurt you a lot.
When I try to upgrade it shows for my Centos:
boost169-chrono x86_64 1.69.0-2.el7 epel 17 k
boost169-context x86_64 1.69.0-2.el7 epel 16 k
boost169-coroutine x86_64 1.69.0-2.el7 epel 16 k
boost169-date-time x86_64 1.69.0-2.el7 epel 21 k
boost169-filesystem x86_64 1.69.0-2.el7 epel 41 k
boost169-program-options x86_64 1.69.0-2.el7 epel 125 k
boost169-regex x86_64 1.69.0-2.el7 epel 261 k
boost169-system x86_64 1.69.0-2.el7 epel 7.5 k
boost169-thread
so you need to clean up you repos and cache and give it another try.
Cheers,
George
Sanjeeth
(Sanjeeth)
September 26, 2019, 8:54am
7
Hello George,
The CentOS is a test system which is fully functional as of now. This system that I am configuring now is a production system based on RHEL. So yes I am not mixing any packages. To be sure I ran the following commands again
yum update -y
yum clean packages
yum clean metadata
yum clean headers
yum clean all
yum autoremove
and renabled the repos for extra and optional rpms. Although the error still remains the same. Cannot install dependencies.
Regards,
Sanjeeth
gkoutsog
(George K)
September 26, 2019, 8:58am
8
Can you provide the result of yum repolist
and yum search boost169
?
Thanks
Sanjeeth
(Sanjeeth)
September 26, 2019, 9:01am
9
Sure. There you go.
yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id repo name status
icinga-stable-release/7Server ICINGA (stable release for epel) 576
rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 1,182
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 19,198
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 26,313
repolist: 47,269
yum search boost169
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Warning: No matches found for: boost169
No matches found
Regards,
Sanjeeth
gkoutsog
(George K)
September 26, 2019, 9:07am
10
Seems that EPEL repo is disabled, so try to enable it with subscription manager or manually and see how it goes.
Cheers,
George
Sanjeeth
(Sanjeeth)
September 26, 2019, 9:17am
11
Thank you George! I managed to install the dependencies after enabling the epel repo.
Regards,
Sanjeeth
2 Likes