Topic: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

The php in the basic 'remi' repo is 5.4 (without specifying php??-php-common, for example), yet several rpms in that repo that should be paired with 5.4 actually require 5.5, namely php-pecl-memcached.

This is for RHEL 6 x86_64 (RHEL 5 x86_64 is not affected - the php-common and php-pecl-memcached there are both 5.4).

Yes, I still need 5.4 to be the default php. I'd prefer not to have to go the hassle of uninstalling php-* and installing php54-php-*, especially since this is working on RHEL 5 just fine.

This seems like a simple fix.... am I missing something?

If there were a php54-named repo with php-* rpms, I'd happily use that.

Re: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

All php-* packages in remi repo require php 5.4 (and are named .el6.remi.5.4), ex:

$ rpm -qp --requires php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64.rpm
php(zend-abi) = 20100525-x86-64
...
$ rpm -qp --provides php-common-5.4.33-2.el6.remi.x86_64.rpm 
php(zend-abi) = 20100525-x86-64

I think you are confuse because of SCL package, read http://blog.famillecollet.com/pages/English-FAQ#scl

Else, post full yum output.

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: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

Check of all pecl packages in remi repo for enterprise 6

$ rpm -qp --requires enterprise/6/remi/x86_64/php-pecl* | grep zend | sort -u
php(zend-abi) = 20100525-x86-64

$ rpm -qp --requires enterprise/6/php55/x86_64/php-pecl* | grep zend | sort -u
php(zend-abi) = 20121212-64

$ rpm -qp --requires enterprise/6/php56/x86_64/php-pecl* | grep zend | sort -u
php(zend-abi) = 20131226-64
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

4 (edited by bchill 2014-09-27 07:32:56)

Re: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

HI Remi.

You are right, but something is weird, since the yum process insists on finding php(api) 20100412 and php(zend-abi) 20100525 even though they are already supported by the currently installed php-common:

# uname -rs
Linux 2.6.32-431.23.3.el6.x86_64

# rpm -q php php-common
php-5.4.33-2.el6.remi.x86_64
php-common-5.4.33-2.el6.remi.x86_64

# yum --disablerepo=* --enablerepo=remi  install php-pecl-memcached
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-memcached.x86_64 0:2.2.0-2.el6.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
--> Processing Dependency: php-pecl-msgpack(x86-64) for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
--> Processing Dependency: php-pecl-igbinary(x86-64) for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
--> Running transaction check
---> Package php-pecl-igbinary.x86_64 0:1.2.1-1.el6.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-igbinary-1.2.1-1.el6.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-igbinary-1.2.1-1.el6.remi.5.4.x86_64
---> Package php-pecl-memcached.x86_64 0:2.2.0-2.el6.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
---> Package php-pecl-msgpack.x86_64 0:0.5.5-4.el6.remi will be installed
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-msgpack-0.5.5-4.el6.remi.x86_64
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-msgpack-0.5.5-4.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-igbinary-1.2.1-1.el6.remi.5.4.x86_64 (remi)
           Requires: php(zend-abi) = 20100525-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
Error: Package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64 (remi)
           Requires: php(zend-abi) = 20100525-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
Error: Package: php-pecl-igbinary-1.2.1-1.el6.remi.5.4.x86_64 (remi)
           Requires: php(api) = 20100412-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
Error: Package: php-pecl-msgpack-0.5.5-4.el6.remi.x86_64 (remi)
           Requires: php(zend-abi) = 20100525-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(zend-abi) = 20100525-x86-64
Error: Package: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64 (remi)
           Requires: php(api) = 20100412-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
Error: Package: php-pecl-msgpack-0.5.5-4.el6.remi.x86_64 (remi)
           Requires: php(api) = 20100412-x86-64
           Installed: php-common-5.4.33-2.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.33-1.el6.remi.x86_64 (remi)
               php(api) = 20100412-x86-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I'm probably missing something obvious, but I don't know what it could be.

Note that I've uninstalled all php-* and reinstalled them several times, and that this happens on all of my CentOS 6 hosts.

Thanks for your help!

Brian

Re: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

It looks like you encounter the metadata issue (ver=20100412 rel=x86-64 vs ver=20100412-x86 rel=64)

Are you using my online repo ? or a local copy ?

This issue afects user of satellite/spacewalk, or user of a local mirror using old createrepo (metadata created on a el5 IIRC)

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: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

Hi Remi,

I am. mrepo + createrepo (from CentOS 5 base) serving CentOS 5 and 6. Nice catch. :-)

I'll have to find a newer version of createrepo on CentOS 5 that handles the metadata properly.

Thanks!

How do I get rsync access? It would save connections from 350 hosts.

Re: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

bchill wrote:

I am. mrepo + createrepo (from CentOS 5 base) serving CentOS 5 and 6. Nice catch. :-)

I'll have to find a newer version of createrepo on CentOS 5 that handles the metadata properly.

Or simply run the createrepo command from a el6 host.


bchill wrote:

Hi Remi,
How do I get rsync access? It would save connections from 350 hosts.

Sent by mail.


Remi.

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: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

FYI: ATrpms has a newer createrepo for RHEL 5 that work properly (combined with deltarpm from EPEL):

http://atrpms.net/el5-x86_64/atrpms/tes … noarch.rpm

Re: remi RHEL 6 x86_64 conflict: php-common 5.4 and php-pecl-memcached 5.5

this is very nice page...