1 (edited by mghe 2021-06-03 07:59:16)

Topic: PHP 8.0 from Remi-Safe unable to install packages

Hi,

I have tried to install PHP 8.0 from repo Remi-Safe with few packages but I have got error on 2 of them. 

<
dnf install php80-php-json.x86_64 php80-php-xmlrpc.x86_64
Updating Subscription Management repositories.
Last metadata expiration check: 3:01:12 ago on Thu 03 Jun 2021 06:35:32 AM CEST.
Error:
Problem 1: cannot install the best candidate for the job
  - nothing provides php80-php-common(x86-64) = 8.0.0~DEV.20200526-13.el8.remi needed by php80-php-json-8.0.0~DEV.20200526-13.el8.remi.x86_64
Problem 2: cannot install the best candidate for the job
  - nothing provides php80-php-xml(x86-64) = 8.0.0~DEV.20200526-13.el8.remi needed by php80-php-xmlrpc-8.0.0~DEV.20200526-13.el8.remi.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
>

Any idea?

Kind regards,
M.

Re: PHP 8.0 from Remi-Safe unable to install packages

Both packages have been removed...

json extension is now part of php-common (no more shared, always enabled)
xmlrpc have been moved to pecl (rely on a deprecated library)

BTW, should work (without the arch in the command)



# dnf install php80-php-json php80-php-xmlrpc
Last metadata expiration check: 0:00:39 ago on Thu Jun  3 10:05:08 2021.
Package php80-php-common-8.0.7-1.el8.remi.x86_64 is already installed.
Dependencies resolved.
====================================================================================================================================================================================
 Package                                           Architecture                       Version                                           Repository                             Size
====================================================================================================================================================================================
Installing:
 php80-php-pecl-xmlrpc                             x86_64                             1.0.0~rc2-1.el8.remi                              remi-safe                              52 k
Installing dependencies:
 php80-php-xml                                     x86_64                             8.0.7-1.el8.remi                                  remi-safe                             182 k

Transaction Summary
====================================================================================================================================================================================
Install  2 Packages

Total download size: 234 k
Installed size: 518 k
Is this ok [y/N]: 

P.S. I have removed old deprecated DEV packages

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 8.0 from Remi-Safe unable to install packages

Remember, for a clean configuration, follow the Wizard instructions
https://rpms.remirepo.net/wizard/

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 8.0 from Remi-Safe unable to install packages

AS I don't know if this is an expected DNF behavior or a bug, I have asked:, see https://bugzilla.redhat.com/1967487

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 8.0 from Remi-Safe unable to install packages

Hi Remi,
Thank You for clarifying and fixed.