Question

install centreon 22.10 on RHEL8

  • 6 January 2023
  • 5 replies
  • 455 views

Badge +1

Hello, 

I’m trying to install centreon 22.10 on RHEL 8.6.

I got thi error:

 Problem: package centreon-22.10.2-12.el8.noarch requires centreon-central = 22.10.2-12.el8, but none of the providers can be installed
  - package centreon-central-22.10.2-12.el8.noarch requires centreon-poller = 22.10.2-12.el8, but none of the providers can be installed
  - package centreon-poller-22.10.0-14.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - package centreon-poller-22.10.1-4.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - package centreon-poller-22.10.2-12.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20211215-090334.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220113-084434.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220518-070245.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220616-070150.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220616-095752.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220718-113121.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220727-130028.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220913-081426.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221017-094659.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221115-095034.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221215-102705.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 

But Perl is installed :

Last metadata expiration check: 0:02:32 ago on Thu 05 Jan 2023 04:09:02 PM UTC.
Package perl-4:5.26.3-421.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

How can I fix ?

Thanks for your help


5 replies

Userlevel 3
Badge +9

Hello,

Do you have the CodeReady Builder repository enabled ?

 

Regards,

itoussies.

Badge +1

Hi, itoussies

yes i do,

note that i am installing from an artifactory jfrog private repo proxiing official repos.

 

 

Userlevel 3
Badge +9

Can you provide the result of the following command ?

dnf info perl-JSON-XS

 

Regards,

itoussies

Badge +1

Hello itoussies,

Thank you so much for your help.

Her you are and a bit more ….

 

[root@VSRV1-CMN-MON ~]# /usr/bin/crb enable
Enabling CRB repo
This system has no repositories available through subscriptions.
CRB repo is enabled and named: internal-ubi-8.4-for-x86_64-codeready-builder-rpms

>>>>>>>>>>>>>
[root@VSRV1-CMN-MON bin]# dnf info perl-JSON-XS
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:02:19 ago on Mon 09 Jan 2023 02:13:38 PM UTC.
Installed Packages
Name         : perl-JSON-XS
Epoch        : 1
Version      : 3.04
Release      : 3.el8
Architecture : x86_64
Size         : 257 k
Source       : perl-JSON-XS-3.04-3.el8.src.rpm
Repository   : @System
From repo    : @commandline
Summary      : JSON serializing/de-serializing, done correctly and fast
URL          : http://search.cpan.org/dist/JSON-XS/
License      : GPL+ or Artistic
Description  : This module converts Perl data structures to JSON and vice versa. Its
             : primary goal is to be correct and its secondary goal is to be fast. To
             : reach the latter goal it was written in C.

[root@VSRV1-CMN-MON bin]# ./crb status
CRB repo is enabled and named: internal-ubi-8.4-for-x86_64-codeready-builder-rpms

[root@VSRV1-CMN-MON bin]# yum info perl
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:04:51 ago on Mon 09 Jan 2023 02:13:38 PM UTC.
Installed Packages
Name         : perl
Epoch        : 4
Version      : 5.26.3
Release      : 421.el8
Architecture : x86_64
Size         : 0.0
Source       : perl-5.26.3-421.el8.src.rpm
Repository   : @System
From repo    : internal-rhel-8-for-x86_64-appstream-rpms
Summary      : Practical Extraction and Report Language
URL          : http://www.perl.org/
License      : GPL+ or Artistic
Description  : Perl is a high-level programming language with roots in C, sed, awk and shell
             : scripting. Perl is good at handling processes and files, and is especially
             : good at handling text. Perl's hallmarks are practicality and efficiency.
             : While it is used to do a lot of different things, Perl's most common
             : applications are system administration utilities and web programming.
             :
             : This is a metapackage with all the Perl bits and core modules that can be
             : found in the upstream tarball from perl.org.
             :
             : If you need only a specific feature, you can install a specific package
             : instead. E.g. to handle Perl scripts with /usr/bin/perl interpreter,
             : install perl-interpreter package. See perl-interpreter description for more
             : details on the Perl decomposition into packages.

regards, Thill

 

Badge +1

Hello,

blocking with :

dnf install centreon
Last metadata expiration check: 0:25:54 ago on Fri 13 Jan 2023 01:52:22 PM UTC.
Error:
 Problem: package centreon-22.10.2-12.el8.noarch requires centreon-central = 22.10.2-12.el8, but none of the providers can be installed
  - package centreon-central-22.10.2-12.el8.noarch requires centreon-poller = 22.10.2-12.el8, but none of the providers can be installed
  - package centreon-poller-22.10.0-14.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - package centreon-poller-22.10.1-4.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - package centreon-poller-22.10.2-12.el8.noarch requires centreon-plugin-Operatingsystems-Windows-Snmp, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20211215-090334.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220113-084434.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220518-070245.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220616-070150.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220616-095752.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220718-113121.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220727-130028.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20220913-081426.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221017-094659.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221115-095034.el8.noarch
  - nothing provides perl(DateTime) needed by centreon-plugin-Operatingsystems-Windows-Snmp-20221215-102705.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Any idea ?

Many thanks for your hep

Reply