Solved

Unable to install packages from Centreon open source software repository

  • 20 September 2022
  • 6 replies
  • 516 views

Badge +3

Please help ! 

I’m unable to install packages from Centreon open source software repository. It seems that only this repo source doesn’t work.

icon

Best answer by YvesFabrice 27 September 2022, 19:25

View original

6 replies

Userlevel 4
Badge +13

Remove and add back?

 

https://docs.centreon.com/docs/installation/installation-of-a-central-server/using-packages/#centreon-repository

Badge +3

Hi @ponchoh 

I face the same bahavior.

 

Userlevel 6
Badge +18

Hi @YvesFabrice I just installed a Perl library from Centreon stable repo and it works:

 

# cat /etc/redhat-release
AlmaLinux release 8.6 (Sky Tiger)
# yum install perl-XML-LibXML-Simple
Last metadata expiration check: 1:43:59 ago on Thu 22 Sep 2022 11:07:42 AM UTC.
Dependencies resolved.
============================================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================================
Installing:
perl-XML-LibXML-Simple noarch 1.01-1.el8 centreon-stable-noarch 29 k

Transaction Summary
============================================================================================================================================================================================================
Install 1 Package

Total download size: 29 k
Installed size: 45 k
Is this ok [y/N]: y
Downloading Packages:
perl-XML-LibXML-Simple-1.01-1.el8.noarch.rpm 931 kB/s | 29 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 873 kB/s | 29 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1
Running scriptlet: perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1
Verifying : perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1

Installed:
perl-XML-LibXML-Simple-1.01-1.el8.noarch

Complete!

Do you have a proxy blocking some requests?

Userlevel 6
Badge +18

I just cleaned my cache and it works too:

# yum clean all
150 files removed
[root@pendo-centreon-22 ~]# yum update centreon centreon-central centreon-common centreon-database centreon-perl-libs centreon-poller centreon-trap centreon-web
AlmaLinux 8 - BaseOS 12 MB/s | 7.0 MB 00:00
AlmaLinux 8 - AppStream 15 MB/s | 11 MB 00:00
AlmaLinux 8 - Extras 52 kB/s | 18 kB 00:00
AlmaLinux 8 - PowerTools 6.5 MB/s | 2.8 MB 00:00
Centreon open source software repository. 16 MB/s | 1.2 MB 00:00
Centreon open source software repository. 1.9 MB/s | 85 kB 00:00
Centreon Business repository 2.5 MB/s | 109 kB 00:00
Centreon Business repository 2.9 kB/s | 257 B 00:00
Centreon Plugin Packs repository 3.8 MB/s | 187 kB 00:00
Centreon Plugin Packs repository 5.9 kB/s | 257 B 00:00
Extra Packages for Enterprise Linux 8 - x86_64 29 MB/s | 13 MB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 1.3 MB/s | 733 kB 00:00
MariaDB Server 547 kB/s | 606 kB 00:01
MariaDB MaxScale 8.4 kB/s | 8.2 kB 00:00
MariaDB Tools 23 kB/s | 4.4 kB 00:00
Remi's Modular repository for Enterprise Linux 8 - x86_64 2.4 MB/s | 1.1 MB 00:00
Safe Remi's RPM repository for Enterprise Linux 8 - x86_64 6.6 MB/s | 2.3 MB 00:00
Dependencies resolved.
============================================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================================
Upgrading:
centreon noarch 22.04.5-1.el8 centreon-stable-noarch 6.6 k
centreon-central noarch 22.04.5-1.el8 centreon-stable-noarch 7.9 k
centreon-common noarch 22.04.5-1.el8 centreon-stable-noarch 9.5 k
centreon-database noarch 22.04.5-1.el8 centreon-stable-noarch 7.0 k
centreon-perl-libs noarch 22.04.5-1.el8 centreon-stable-noarch 64 k
centreon-poller noarch 22.04.5-1.el8 centreon-stable-noarch 15 k
centreon-trap noarch 22.04.5-1.el8 centreon-stable-noarch 11 k
centreon-web noarch 22.04.5-1.el8 centreon-stable-noarch 9.5 M

Transaction Summary
============================================================================================================================================================================================================
Upgrade 8 Packages

Total download size: 9.6 M
Is this ok [y/N]:

Regards,

Badge +3

Hi @YvesFabrice I just installed a Perl library from Centreon stable repo and it works:

 

# cat /etc/redhat-release
AlmaLinux release 8.6 (Sky Tiger)
# yum install perl-XML-LibXML-Simple
Last metadata expiration check: 1:43:59 ago on Thu 22 Sep 2022 11:07:42 AM UTC.
Dependencies resolved.
============================================================================================================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================================================================================================
Installing:
perl-XML-LibXML-Simple noarch 1.01-1.el8 centreon-stable-noarch 29 k

Transaction Summary
============================================================================================================================================================================================================
Install 1 Package

Total download size: 29 k
Installed size: 45 k
Is this ok [y/N]: y
Downloading Packages:
perl-XML-LibXML-Simple-1.01-1.el8.noarch.rpm 931 kB/s | 29 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 873 kB/s | 29 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1
Running scriptlet: perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1
Verifying : perl-XML-LibXML-Simple-1.01-1.el8.noarch 1/1

Installed:
perl-XML-LibXML-Simple-1.01-1.el8.noarch

Complete!

Do you have a proxy blocking some requests?


Hi @Laurent thanks for the supports,  I’ve tried with no success.
There’s no blocking proxy.

 

 

Badge +3

Dear @Laurent !

After one week of toubleshooting, we definitly realize internet issue on the server.

The problem is fixed right now. Thank for the support.

Reply