Solved

PHP dependency problem during upgrade from 22.04 to 22.10

  • 14 December 2022
  • 6 replies
  • 801 views

Badge +2

Hi.

I tried to upgrade my Centreon 22.04 IT 100 Edition to 22.10 without success.

I followed the instruction of https://docs.centreon.com/docs/upgrade/upgrade-from-22-04/ web page. All went well since “yum update” phase. When I try to execute the command “yum update centreon\* php-pecl-gnupg” I have the following error:

---> Package php-snmp.x86_64 0:8.1.13-1.el7.remi will be an update
---> Package php-xml.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-xml.x86_64 0:8.1.13-1.el7.remi will be an update
--> Finished Dependency Resolution
Error: Package: php-pecl-mysqlnd-ngen-8.0.25-1.el7.remi.8.0.x86_64 (@remi-php80-test)
Requires: php(zend-abi) = 20200930-64
Removing: php-common-8.0.25~RC1-1.el7.remi.x86_64 (@remi-php80-test)
php(zend-abi) = 20200930-64
Updated By: php-common-8.1.13-1.el7.remi.x86_64 (remi-php81)
php(zend-abi) = 20210902-64
Available: php-common-5.4.16-48.el7.x86_64 (base)
php(zend-abi) = 20100525-64
Available: php-common-8.0.25-1.el7.remi.x86_64 (remi-php80)
php(zend-abi) = 20200930-64
Available: php-common-8.0.26~RC1-1.el7.remi.x86_64 (remi-php80-test)
php(zend-abi) = 20200930-64
Available: php-common-8.0.26-1.el7.remi.x86_64 (remi-php80)
php(zend-abi) = 20200930-64
Available: php-common-8.1.12-1.el7.remi.x86_64 (remi-php81)
php(zend-abi) = 20210902-64
Available: php74-common-7.4.30-1.el7.ius.x86_64 (ius)
php(zend-abi) = 20190902-64
Available: php74-common-7.4.32-1.el7.ius.x86_64 (ius)
php(zend-abi) = 20190902-64
Available: php74-common-7.4.33-1.el7.ius.x86_64 (ius)
php(zend-abi) = 20190902-64
Error: Package: php-pecl-mysqlnd-ngen-8.0.25-1.el7.remi.8.0.x86_64 (@remi-php80-test)
Requires: php(api) = 20200930-64
Removing: php-common-8.0.25~RC1-1.el7.remi.x86_64 (@remi-php80-test)
php(api) = 20200930-64
Updated By: php-common-8.1.13-1.el7.remi.x86_64 (remi-php81)
php(api) = 20210902-64
Available: php-common-5.4.16-48.el7.x86_64 (base)
php(api) = 20100412-64
Available: php-common-8.0.25-1.el7.remi.x86_64 (remi-php80)
php(api) = 20200930-64
Available: php-common-8.0.26~RC1-1.el7.remi.x86_64 (remi-php80-test)
php(api) = 20200930-64
Available: php-common-8.0.26-1.el7.remi.x86_64 (remi-php80)
php(api) = 20200930-64
Available: php-common-8.1.12-1.el7.remi.x86_64 (remi-php81)
php(api) = 20210902-64
Available: php74-common-7.4.30-1.el7.ius.x86_64 (ius)
php(api) = 20190902-64
Available: php74-common-7.4.32-1.el7.ius.x86_64 (ius)
php(api) = 20190902-64
Available: php74-common-7.4.33-1.el7.ius.x86_64 (ius)
php(api) = 20190902-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I searched a long time on Internet for yum dependency problem and try a lot of things but no success at this time, still the same error.

 

about Centreon
$ lsb_release -d
Description: CentOS Linux release 7.9.2009 (Core)
$ yum repolist enabled
repo id repo name status
Webmin Webmin Distribution Neutral 235
base/7/x86_64 CentOS-7 - Base 10,072
centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,166
centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 816
centreon-stable/x86_64 Centreon open source software repository. 184
centreon-stable-noarch Centreon open source software repository. 6,447
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,747
extras/7/x86_64 CentOS-7 - Extras 515
gf/x86_64 Ghettoforge packages that won't overwrite core distro packages. 92
ius/x86_64 IUS for Enterprise Linux 7 - x86_64 308
mariadb-main MariaDB Server 101
mariadb-maxscale MariaDB MaxScale 4
mariadb-tools MariaDB Tools 16
of/x86_64 Open Fusion Packages for Enterprise Linux 7 - x86_64 1,826
packages-microsoft-com-prod packages-microsoft-com-prod 1,449
remi-php80 Remi's PHP 8.0 RPM repository for Enterprise Linux 7 - x86_64 399
remi-php80-test Remi's PHP 8.0 test RPM repository for Enterprise Linux 7 - x86_64 112
remi-php81 Remi's PHP 8.1 RPM repository for Enterprise Linux 7 - x86_64 352
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 5,091
rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 248
updates/7/x86_64 CentOS-7 - Updates 4,453
repolist: 54,633

Does anyone have a suggestion?

icon

Best answer by Adrien Morais-Mestre 15 December 2022, 15:13

View original

6 replies

Userlevel 2
Badge +5

Hi @EricSchnell,

It seems there is something strange here. Regarding the output of yum repolist enabled you have the remi-php80-test enabled. Is there any particular reason for this ?

You could try the following thing

yum-config-manager --disable remi-php80-test remi-php8.1
yum clean all
yum reinstall php-mysqlnd
yum update php\*
# Retry the upgrade process

Regards

Badge +2

Hi. Thank you for your answer.

I tried the commands but unfortunately, it doesn’t work either

$ sudo yum-config-manager --disable remi-php80-test
$ yum repolist enabled
repo id repo name status
Webmin Webmin Distribution Neutral 235
base/7/x86_64 CentOS-7 - Base 10,072
centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,166
centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 816
centreon-stable/x86_64 Centreon open source software repository. 184
centreon-stable-noarch Centreon open source software repository. 6,447
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,749
extras/7/x86_64 CentOS-7 - Extras 515
gf/x86_64 Ghettoforge packages that won't overwrite core distro packages. 92
ius/x86_64 IUS for Enterprise Linux 7 - x86_64 308
mariadb-main MariaDB Server 101
mariadb-maxscale MariaDB MaxScale 4
mariadb-tools MariaDB Tools 16
of/x86_64 Open Fusion Packages for Enterprise Linux 7 - x86_64 1,826
packages-microsoft-com-prod packages-microsoft-com-prod 1,449
remi-php80 Remi's PHP 8.0 RPM repository for Enterprise Linux 7 - x86_64 399
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 5,091
rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 248
updates/7/x86_64 CentOS-7 - Updates 4,453
repolist: 54,171
$ sudo yum clean all
Cleaning repos: Webmin base centos-sclo-rh centos-sclo-sclo centreon-stable centreon-stable-noarch epel extras gf ius mariadb-main mariadb-maxscale
: mariadb-tools of packages-microsoft-com-prod remi-php80 remi-safe rpmfusion-free-updates updates
Other repos take up 3.6 M of disk space (use --verbose for details)
$ sudo yum reinstall php-mysqlnd
Webmin | 2.9 kB 00:00:00
base | 3.6 kB 00:00:00
centos-sclo-rh | 3.0 kB 00:00:00
centos-sclo-sclo | 3.0 kB 00:00:00
centreon-stable | 2.9 kB 00:00:00
centreon-stable-noarch | 2.9 kB 00:00:00
epel/x86_64/metalink | 23 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
gf | 2.9 kB 00:00:00
ius | 1.3 kB 00:00:00
mariadb-main | 3.4 kB 00:00:00
mariadb-maxscale | 2.5 kB 00:00:00
mariadb-tools | 2.9 kB 00:00:00
of | 2.9 kB 00:00:00
packages-microsoft-com-prod | 3.0 kB 00:00:00
remi-php80 | 3.0 kB 00:00:00
remi-safe | 3.0 kB 00:00:00
rpmfusion-free-updates | 3.7 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/24): Webmin/primary_db | 203 kB 00:00:00
(2/24): base/7/x86_64/group_gz | 153 kB 00:00:00
(3/24): centos-sclo-sclo/x86_64/primary_db | 300 kB 00:00:00
(4/24): centos-sclo-rh/x86_64/primary_db | 3.4 MB 00:00:00
(5/24): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(6/24): epel/x86_64/group_gz | 98 kB 00:00:00
(7/24): centreon-stable/x86_64/primary_db | 111 kB 00:00:00
(8/24): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(9/24): extras/7/x86_64/primary_db | 249 kB 00:00:00
(10/24): centreon-stable-noarch/primary_db | 1.7 MB 00:00:00
(11/24): epel/x86_64/primary_db | 7.0 MB 00:00:00
(12/24): ius/x86_64/primary | 66 kB 00:00:00
(13/24): mariadb-tools/primary_db | 18 kB 00:00:00
(14/24): mariadb-main/updateinfo | 5.8 kB 00:00:00
(15/24): mariadb-main/primary_db | 74 kB 00:00:00
(16/24): remi-php80/primary_db | 224 kB 00:00:00
(17/24): remi-safe/primary_db | 2.3 MB 00:00:00
(18/24): rpmfusion-free-updates/x86_64/group_gz | 1.4 kB 00:00:00
(19/24): rpmfusion-free-updates/x86_64/primary_db | 255 kB 00:00:00
(20/24): mariadb-maxscale/primary_db | 7.3 kB 00:00:00
(21/24): packages-microsoft-com-prod/primary_db | 625 kB 00:00:00
(22/24): gf/x86_64/primary_db | 55 kB 00:00:00
(23/24): updates/7/x86_64/primary_db | 18 MB 00:00:00
(24/24): of/x86_64/primary_db | 964 kB 00:00:01
ius 308/308
Installed package php-pecl-mysqlnd-ngen-8.0.25-1.el7.remi.8.0.x86_64 (from remi-php80-test) not available.
Error: Nothing to do
$ sudo yum update php\*
Resolving Dependencies
--> Running transaction check
---> Package php-cli.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-cli.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-common.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-common.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-fpm.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-fpm.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-gd.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-gd.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-intl.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-intl.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-ldap.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-ldap.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-mbstring.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-mbstring.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-pdo.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-pdo.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-process.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-process.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-snmp.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-snmp.x86_64 0:8.0.26-1.el7.remi will be an update
---> Package php-sourceguardian-loader.x86_64 0:8.0-1.el7.centos will be updated
---> Package php-sourceguardian-loader.x86_64 0:8.1-1.el7.centos will be an update
--> Processing Dependency: php-common >= 8.1 for package: php-sourceguardian-loader-8.1-1.el7.centos.x86_64
---> Package php-xml.x86_64 0:8.0.25~RC1-1.el7.remi will be updated
---> Package php-xml.x86_64 0:8.0.26-1.el7.remi will be an update
--> Finished Dependency Resolution
Error: Package: php-sourceguardian-loader-8.1-1.el7.centos.x86_64 (centreon-stable)
Requires: php-common >= 8.1
Removing: php-common-8.0.25~RC1-1.el7.remi.x86_64 (@remi-php80-test)
php-common = 8.0.25~RC1-1.el7.remi
Updated By: php-common-8.0.26-1.el7.remi.x86_64 (remi-php80)
php-common = 8.0.26-1.el7.remi
Available: php-common-5.4.16-48.el7.x86_64 (base)
php-common = 5.4.16-48.el7
Available: php-common-8.0.25-1.el7.remi.x86_64 (remi-php80)
php-common = 8.0.25-1.el7.remi
Available: php74-common-7.4.30-1.el7.ius.x86_64 (ius)
php-common = 7.4.30-1.el7.ius
Available: php74-common-7.4.32-1.el7.ius.x86_64 (ius)
php-common = 7.4.32-1.el7.ius
Available: php74-common-7.4.33-1.el7.ius.x86_64 (ius)
php-common = 7.4.33-1.el7.ius
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

 

Userlevel 2
Badge +5

Oh wait what is that package ?

On a 22.04 (which I can upgrade to 22.10) I do not have the package

php-pecl-mysqlnd-ngen

 This package is not marked as a centreon-web dependency

[root@0c3feba514ad ~]# rpm -qR centreon-web | grep php
/usr/bin/php
php-cli
php-common >= 8.0
php-curl
php-fpm
php-gd
php-intl
php-json
php-ldap
php-mbstring
php-mysqlnd
php-pdo
php-pear
php-snmp
php-xml
php-zip

You could try to remove it (if not used on purpose by yourself) and re-try the upgrade

Regards,

Adrien

Badge +2

Hello @Adrien Morais-Mestre 

This package is a dependency for centreon-web. You can see it in the output of your command (php-mysqlnd)

$ sudo yum remove php-pecl-mysqlnd-ngen
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-mysqlnd-ngen.x86_64 0:8.0.25-1.el7.remi.8.0 will be erased
--> Processing Dependency: php-mysqlnd for package: centreon-web-22.04.7-5.el7.centos.noarch
--> Running transaction check
---> Package centreon-web.noarch 0:22.04.7-5.el7.centos will be erased
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-servicegroup-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-servicegroup-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-graph-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-graph-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-license-manager-22.04.0-1.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-license-manager-22.04.0-1.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-grid-map-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-grid-map-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-service-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-service-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-live-top10-memory-usage-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-live-top10-memory-usage-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-pp-manager-22.04.0-2.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-pp-manager-22.04.0-2.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-single-metric-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-single-metric-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-auto-discovery-server-22.04.1-2.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-auto-discovery-server-22.04.1-2.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-global-health-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-global-health-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-live-top10-cpu-usage-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-live-top10-cpu-usage-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-tactical-overview-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-tactical-overview-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web = 22.04.7-5.el7.centos for package: centreon-central-22.04.7-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-host-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-host-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-httploader-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-httploader-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-engine-status-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-engine-status-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web >= 22.04.0 for package: centreon-widget-hostgroup-monitoring-22.04.0-5.el7.centos.noarch
--> Processing Dependency: centreon-web < 22.05.0 for package: centreon-widget-hostgroup-monitoring-22.04.0-5.el7.centos.noarch
--> Running transaction check
---> Package centreon-auto-discovery-server.noarch 0:22.04.1-2.el7.centos will be erased
---> Package centreon-central.noarch 0:22.04.7-5.el7.centos will be erased
--> Processing Dependency: centreon-central = 22.04.7-5.el7.centos for package: centreon-22.04.7-5.el7.centos.noarch
---> Package centreon-license-manager.noarch 0:22.04.0-1.el7.centos will be erased
---> Package centreon-pp-manager.noarch 0:22.04.0-2.el7.centos will be erased
---> Package centreon-widget-engine-status.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-global-health.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-graph-monitoring.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-grid-map.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-host-monitoring.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-hostgroup-monitoring.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-httploader.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-live-top10-cpu-usage.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-live-top10-memory-usage.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-service-monitoring.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-servicegroup-monitoring.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-single-metric.noarch 0:22.04.0-5.el7.centos will be erased
---> Package centreon-widget-tactical-overview.noarch 0:22.04.0-5.el7.centos will be erased
--> Running transaction check
---> Package centreon.noarch 0:22.04.7-5.el7.centos will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================
Removing:
php-pecl-mysqlnd-ngen x86_64 8.0.25-1.el7.remi.8.0 @remi-php80-test 997 k
Removing for dependencies:
centreon noarch 22.04.7-5.el7.centos @centreon-stable-noarch 0.0
centreon-auto-discovery-server noarch 22.04.1-2.el7.centos @centreon-stable-noarch 2.7 M
centreon-central noarch 22.04.7-5.el7.centos @centreon-stable-noarch 0.0
centreon-license-manager noarch 22.04.0-1.el7.centos @centreon-stable-noarch 1.0 M
centreon-pp-manager noarch 22.04.0-2.el7.centos @centreon-stable-noarch 1.1 M
centreon-web noarch 22.04.7-5.el7.centos @centreon-stable-noarch 49 M
centreon-widget-engine-status noarch 22.04.0-5.el7.centos @centreon-stable-noarch 39 k
centreon-widget-global-health noarch 22.04.0-5.el7.centos @centreon-stable-noarch 456 k
centreon-widget-graph-monitoring noarch 22.04.0-5.el7.centos @centreon-stable-noarch 16 k
centreon-widget-grid-map noarch 22.04.0-5.el7.centos @centreon-stable-noarch 20 k
centreon-widget-host-monitoring noarch 22.04.0-5.el7.centos @centreon-stable-noarch 86 k
centreon-widget-hostgroup-monitoring noarch 22.04.0-5.el7.centos @centreon-stable-noarch 41 k
centreon-widget-httploader noarch 22.04.0-5.el7.centos @centreon-stable-noarch 14 k
centreon-widget-live-top10-cpu-usage noarch 22.04.0-5.el7.centos @centreon-stable-noarch 35 k
centreon-widget-live-top10-memory-usage noarch 22.04.0-5.el7.centos @centreon-stable-noarch 23 k
centreon-widget-service-monitoring noarch 22.04.0-5.el7.centos @centreon-stable-noarch 107 k
centreon-widget-servicegroup-monitoring noarch 22.04.0-5.el7.centos @centreon-stable-noarch 43 k
centreon-widget-single-metric noarch 22.04.0-5.el7.centos @centreon-stable-noarch 37 k
centreon-widget-tactical-overview noarch 22.04.0-5.el7.centos @centreon-stable-noarch 44 k

Transaction Summary
=====================================================================================================================================================
Remove 1 Package (+19 Dependent packages)

Installed size: 56 M
Is this ok [y/N]: n

I can’t remove it

Userlevel 2
Badge +5

Yes but I think the current package installed is not the correct one.

The one installed is from the remi-php80-test which is not the one required by centreon and that is why the upgrade fails.

Here an example on my 22.04

[root@0c3feba514ad ~]# yum search php-pecl-mysqlnd-ngen
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: centos.mirrors.proxad.net
* centos-sclo-rh: centos.mirrors.proxad.net
* centos-sclo-sclo: centos.mirrors.proxad.net
* epel: mirrors.nic.cz
* extras: centos.mirror.fr.planethoster.net
* remi-php80: remi.mirrors.cu.be
* remi-safe: remi.mirrors.cu.be
* updates: centos.mirrors.proxad.net
Warning: No matches found for: php-pecl-mysqlnd-ngen
No matches found
[root@0c3feba514ad ~]# yum search --enablerepo remi-php80* php-pecl-mysqlnd-ngen
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: centos.mirrors.proxad.net
* centos-sclo-rh: centos.mirrors.proxad.net
* centos-sclo-sclo: centos.mirrors.proxad.net
* epel: mirrors.nic.cz
* extras: centos.mirror.fr.planethoster.net
* remi-php80: remi.mirrors.cu.be
* remi-php80-test: remi.mirrors.cu.be
* remi-safe: remi.mirrors.cu.be
* updates: centos.mirrors.proxad.net
remi-php80-debuginfo | 3.0 kB 00:00:00
remi-php80-test | 3.0 kB 00:00:00
remi-php80-test-debuginfo | 3.0 kB 00:00:00
(1/3): remi-php80-debuginfo/x86_64/primary_db | 49 kB 00:00:00
(2/3): remi-php80-test-debuginfo/x86_64/primary_db | 9.3 kB 00:00:00
(3/3): remi-php80-test/primary_db | 78 kB 00:00:00
================================================================================================== N/S matched: php-pecl-mysqlnd-ngen ==================================================================================================
php-pecl-mysqlnd-ngen-debuginfo.x86_64 : Debug information for package php-pecl-mysqlnd-ngen
php-pecl-mysqlnd-ngen.x86_64 : Extended version of mysqlnd,mysqli and pdo

Name and summary matches only, use "search all" for everything.

That is why you could try the following procedure

  • Disable the reml-php80-test repository
  • Force the uninstall of the package
rpm -e --nodeps php-pecl-mysqlnd-ngen

And then install the one provided by the remi-php80 repository

yum install --enablerepo remi-php80 php-mysqlnd # (only enabling this repo to be sure)

And then retry the upgrade process

Regards,

Adrien

Badge +2

Good job @Adrien Morais-Mestre !

This did the trick.

After installed the one provided by the remi-php80 repository, I was able to upgrade my Centreon to 22.10.

Thank you !

Reply