Error during software installation (none of the providers or filtered out by modular filtering)

Hello,

I am installing the last version (22.04) open source of centreon but I encounter problems.

I’m going with a distributed architecture (1 central machine, 1 database and pollers).

All my VMs are freshly installed OS whose characteristics are as follows:

[root@sup-cent-01 ~]# cat /etc/centos-release
AlmaLinux release 8.6 (Sky Tiger)
[root@sup-cent-01 ~]# uname -m
x86_64
[root@sup-cent-01 ~]# uname -r
4.18.0-372.16.1.el8_6.x86_64

I want to install via packages, I followed this procedure:

My problem is that on the central, arrived at step (With a remote database / Run the following command on the Central server:) “dnf install -y centreon-central” I encounter these errors:

[root@sup-cent-01 ~]# dnf install -y centreon-central
Last metadata expiration check: 0:44:21 ago on Wednesday 03 August 2022 09:27:07 AM CEST.
Error:
Problem: package centreon-central-22.04.1-8.el8.noarch requires centreon-license-manager < 22.05.0, but none of the providers can be installed

  • package centreon-central-22.04.1-8.el8.noarch requires centreon-license-manager >= 22.04.0, but none of the providers can be installed
  • package centreon-license-manager-22.04.0-1.el8.noarch requires php-pecl-gnupg >= 1.5, but none of the providers can be installed
  • cannot install the best candidate for the job
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.2.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.3.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.4.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.8.0.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-2.el8.remi.8.1.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.2.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.3.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.4.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.8.0.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.8.1.x86_64 is filtered out by modular filtering
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

I don’t understand exactly what is going on.
For the lines below, in order to install centreon-central-22.04.1-8.el8.noarch, you must confirm that you can install centreon-license-manager in a version lower than 22.05.0 and greater than or equal to 22.04 .0. This being absolutely nothing is available on the repo is that right?

  • package centreon-central-22.04.1-8.el8.noarch requires centreon-license-manager < 22.05.0, but none of the providers can be installed
  • package centreon-central-22.04.1-8.el8.noarch requires centreon-license-manager >= 22.04.0, but none of the providers can be installed

For the lines below, in order to install centreon-license-manager-22.04.0-1.el8.noarch, you must confirm that you can install php-pecl-gnupg in version greater than or equal to 1.5. This being the dnf tool can’t choose the best version I have available and lists me all the choices I have on my repo, right?

  • package centreon-license-manager-22.04.0-1.el8.noarch requires php-pecl-gnupg >= 1.5, but none of the providers can be installed
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.2.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.3.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.7.4.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-1.el8.remi.8.0.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.0-2.el8.remi.8.1.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.2.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.3.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.7.4.x86_64 is filtered out by modular filtering
  • package php-pecl-gnupg-1.5.1-1.el8.remi.8.0.x86_64 is filtered out by modular filtering

What can I do (I do not necessarily speak with centreon but in general with these errors) ?

Thanks

Cordially

The DNF has “modules” with “streams”. A repo has RPM-packages, but also metadata that affiliates packages to streams and only packages of enabled streams can be installed.

Since this is probably about PHP, I’d ask first what “php” streams your repos know about:

dnf module list php*

@jlehtone ,

Thanks for your reply.

I placed your command and I get:
[root@sup-cent-01 ~]# dnf module list php*
Last metadata expiration check: 0:34:30 ago on Thursday 04 August 2022 10:40:50 AM CEST.
AlmaLinux 8 - AppStream
Name Stream Profiles Summary
php 7.2 [d] common [d], devel, minimal PHP scripting language
php 7.3 common [d], devel, minimal PHP scripting language
php 7.4 common [d], devel, minimal PHP scripting language
php 8.0 common [d], devel, minimal PHP scripting language

Remi’s Modular repository for Enterprise Linux 8 - x86_64
Name Stream Profiles Summary
php remi-7.2 common [d], devel, minimal PHP scripting language
php remi-7.3 common [d], devel, minimal PHP scripting language
php remi-7.4 common [d], devel, minimal PHP scripting language
php remi-8.0 common [d], devel, minimal PHP scripting language
php remi-8.1 common [d], devel, minimal PHP scripting language

Hint: [d]efault, [e]nabled, disabled, [i]nstalled
[root@sup-cent-01 ~]#

I better understand the display I had previously with the errors and why I had so many lines.
On the other hand I do not understand why it does not install, there are many versions available with a minimum version or equal to 1.5.
Do you have an explanation for this?

Thanks

As the gnupg extension is not available in official streams, you need to use one of the “remi” ones, which provides this extension and a lot of others.

For a proper configuration, see the wizard

In short (adapt to wanted version)

dnf module reset php
dnf module install php:remi-7.4
1 Like

Hi,

Thanks you very much @remi !

dnf module reset php
dnf module install php:remi-8.0