-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-swm
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Working on https://issues.redhat.com/browse/RHEL-105827 and https://issues.redhat.com/browse/RHEL-113470
The goal is to provide PHP 8.4 as namespaced packages in RHEL10.2 (default version is 8.3) as modules are not allowed.
When installing PHP applications (ex php-pear), dependencies are properly resolved
Ex, php-pear requires php-xml:
- dnf pulls php-xml if "php-common" is installed
- dnf pulls php8.4-xml if "php8.4-common" is installed
So dnf is able to find the right package.
But on direct installation it fails
Ex:
dnf install php-dba
Error:
Problem: problem with installed package php8.4-common-8.4.12-1.el10.remi.x86_64
- }}{{package php8.4-common-8.4.12-1.el10.remi.x86_64 from @System conflicts with php-common < 8.4 provided by php-common-8.3.19-1.el10_0.x86_64 from rhel-10-for-x86_64-appstream-rpms
- }}{{package php8.4-common-8.4.12-1.el10.remi.x86_64 from php8.4 conflicts with php-common < 8.4 provided by php-common-8.3.19-1.el10_0.x86_64 from rhel-10-for-x86_64-appstream-rpms
- }}{{package php-dba-8.3.19-1.el10_0.x86_64 from rhel-10-for-x86_64-appstream-rpms requires php-common(x86-64) = 8.3.19-1.el10_0, but none of the providers can be installed
- cannot install the best candidate for the job
(try to add '{}allowerasing' to command line to replace conflicting packages or '{}skip-broken' to skip uninstallable packages or '{-}-nobest' to use not only best candidate packages)
It will be nice if dnf was able to choose php8.4-dba (which also provides php-dba)
More test results in the linked task (with a usable repo for test)