Topic: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Can anyone shed light on this yum issue?  Does yum just need an update touse these RPMs? If so is it available officially for rhel6.1 yet?

[root@pstagetest yum.repos.d]# yum install php-pecl-igbinary
Loaded plugins: changelog, downloadonly, product-id, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-igbinary.x86_64 0:1.1.1-2.el6.remi will be installed
--> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64
--> Processing Dependency: php(api) = 20090626-x86-64 for package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64 (repo)
           Requires: php(api) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@repo)
               php(api) = 20090626
               php(api) = 20090626-x86-64
Error: Package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64 (repo)
           Requires: php(zend-abi) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@repo)
               php(zend-abi) = 20090626
               php(zend-abi) = 20090626-x86-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Humm... can't reproduce...

Please try with --noplugins options

And post the result of

rpm -qa php\* yum\* | sort
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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Remi wrote:

Humm... can't reproduce...

Please try with --noplugins options

And post the result of

rpm -qa php\* yum\* | sort

Thanks for the uber fast reply smile

I get the same results with --noplugins as an option to yum.

[root@pstagetest ~]# rpm -qa php\* yum\* | sort
php-5.3.9-1.el6.remi.x86_64
php-cli-5.3.9-1.el6.remi.x86_64
php-common-5.3.9-1.el6.remi.x86_64
php-devel-5.3.9-1.el6.remi.x86_64
php-mbstring-5.3.9-1.el6.remi.x86_64
php-pear-1.9.4-3.el6.remi.noarch
php-xml-5.3.9-1.el6.remi.x86_64
yum-3.2.29-17.el6.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-changelog-1.1.30-6.el6.noarch
yum-plugin-downloadonly-1.1.30-6.el6.noarch
yum-rhn-plugin-0.9.1-26.el6.noarch

Can you spot anything dubious in the above?

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Just noticed if I copy php-pecl-igbinary-1.1.1-2.el6.remi.x86_64.rpm to the server in question then yum install php-pecl-igbinary-1.1.1-2.el6.remi.x86_64.rpm things work smile

Could this be related to my yum repo being on CentOS5.5.  Is there a workaround or will I have to upgrade?

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

yum clean all
yum install --noplugins --disablerepo=* --enablerepo=test php-pecl-igbinary

Where the test repo just contains php-pecl-igbinary-1.1.1-2.el6.remi.x86_64 fails still does this:

Error: Package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64 (oviinfra)
           Requires: php(api) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@oviinfra)
               php(api) = 20090626
               php(api) = 20090626-x86-64
Error: Package: php-pecl-igbinary-1.1.1-2.el6.remi.x86_64 (oviinfra)
           Requires: php(zend-abi) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@oviinfra)
               php(zend-abi) = 20090626
               php(zend-abi) = 20090626-x86-64


Guessing this must be some issue around the repository itself.  My guess is createrepo is too old as the server it runs on is CentOS5.5 with no updates.

Any idea what version of createrepo will do me?

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Can you also try with latest yum version (3.2.29-22) ?

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Same issue with the latest yum.  I guess it must be the createrepo that created the repo on CentOS5.5 that is to blame.

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

I'm also getting this with any php-pecl-* modules.  I've using RHEL6.2 with yum 3.2.29-22.  I'm getting this error on php-pecl-gearman, php-pecl-apc, php-pecl-memcache.  Any help/ideas would be appreciated, I'm working on migrating from centos5.7 to rhel6.2 and need these packages to continue with the migration.


# yum --version
3.2.29
  Installed: rpm-4.8.0-19.el6.x86_64 at 2012-01-20 13:53
  Built    : Red Hat, Inc. <xxxx://bugzilla.redhat.com/bugzilla> at 2011-10-04 08:23
  Committed: Panu Matilainen <pmatilai@redhat.com> at 2011-10-04

  Installed: subscription-manager-0.96.17-1.el6.x86_64 at 2012-01-20 13:54
  Built    : Red Hat, Inc. <xxxx://bugzilla.redhat.com/bugzilla> at 2011-10-25 15:11
  Committed: James Bowes <jbowes@redhat.com> at 2011-10-25

  Installed: yum-3.2.29-22.el6.noarch at 2012-01-20 13:53
  Built    : Red Hat, Inc. <xxxx://bugzilla.redhat.com/bugzilla> at 2011-09-21 14:30
  Committed: James Antill <james.antill@redhat.com> at 2011-09-21
yum install php-pecl-gearman
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-gearman.x86_64 0:0.8.1-1.el6.remi will be installed
--> Processing Dependency: php(zend-abi) = 20090626-x86-64 for package: php-pecl-gearman-0.8.1-1.el6.remi.x86_64
--> Processing Dependency: php(api) = 20090626-x86-64 for package: php-pecl-gearman-0.8.1-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-gearman-0.8.1-1.el6.remi.x86_64 (remi-6-x86_64)
           Requires: php(api) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@remi-6-x86_64)
               php(api) = 20090626
               php(api) = 20090626-x86-64
           Available: php-common-5.3.2-6.el6.x86_64 (rhel-x86_64-server-6)
               php(api) = 20090626
           Available: php-common-5.3.2-6.el6_0.1.x86_64 (rhel-x86_64-server-6)
               php(api) = 20090626
           Available: php-common-5.3.3-3.el6.x86_64 (rhel-x86_64-server-6)
               php(api) = 20090626
           Available: php-common-5.3.3-3.el6_1.3.x86_64 (rhel-x86_64-server-6)
               php(api) = 20090626
           Available: php-common-5.3.8-5.el6.remi.x86_64 (remi-6-x86_64)
               php(api) = 20090626-x86-64
               php(api) = 20090626
Error: Package: php-pecl-gearman-0.8.1-1.el6.remi.x86_64 (remi-6-x86_64)
           Requires: php(zend-abi) = 20090626-x86-64
           Installed: php-common-5.3.9-1.el6.remi.x86_64 (@remi-6-x86_64)
               php(zend-abi) = 20090626
               php(zend-abi) = 20090626-x86-64
           Available: php-common-5.3.2-6.el6.x86_64 (rhel-x86_64-server-6)
               php(zend-abi) = 20090626
           Available: php-common-5.3.2-6.el6_0.1.x86_64 (rhel-x86_64-server-6)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-3.el6.x86_64 (rhel-x86_64-server-6)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-3.el6_1.3.x86_64 (rhel-x86_64-server-6)
               php(zend-abi) = 20090626
           Available: php-common-5.3.8-5.el6.remi.x86_64 (remi-6-x86_64)
               php(zend-abi) = 20090626-x86-64
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Really don't understand php-pecl-gearman-0.8.1-1.el6.remi.x86_64  Requires: php(zend-abi) = 20090626-x86-64 which is provided by Installed: php-common-5.3.9-1.el6.remi.x86_64...

This really seems to be a yum/createrepo issue...

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.2 (Santiago)

# yum --version
3.2.29
  Installed: rpm-4.8.0-19.el6.x86_64 at 2011-12-09 19:16
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-10-04 08:23
  Committed: Panu Matilainen <pmatilai@redhat.com> at 2011-10-04

  Installed: subscription-manager-0.96.17-1.el6.x86_64 at 2011-12-09 19:19
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-10-25 15:11
  Committed: James Bowes <jbowes@redhat.com> at 2011-10-25

  Installed: yum-3.2.29-22.el6.noarch at 2011-12-09 19:16
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-09-21 14:30
  Committed: James Antill <james.antill@redhat.com> at 2011-09-21

  Installed: yum-plugin-fastestmirror-1.1.30-10.el6.noarch at 2011-12-09 19:21
  Built    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> at 2011-09-21 14:09
  Committed: James Antill <james.antill@redhat.com> at 2011-09-21

# yum install php-pecl-gearman
Loaded plugins: changelog, fastestmirror, product-id, protectbase, rhnplugin, subscription-manager, upgrade-helper
...
Dependencies Resolved

======================================================================================================================================================
 Package                                  Arch                           Version                                   Repository                    Size
======================================================================================================================================================
Installing:
 php-pecl-gearman                         x86_64                         0.8.1-1.el6.remi                          remi                          44 k
Installing for dependencies:
 libgearman                               x86_64                         0.14-3.el6                                epel                          29 k

Transaction Summary
======================================================================================================================================================
Install       2 Package(s)

Total download size: 73 k
Installed size: 303 k
Is this ok [y/N]: 

Do you use online remi repository of a local copy ? how do you create it ?
Have you EPEL enabled ?
AS its named "remi-6-x86_64", can you try with the online repo ?

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

We're using RHN Satellite server, so it's a repository synced locally to our server.  The packages are fine if I manually download them and do a yum localinstall <rpm>.  I believe the issue comes in the metadata that is being parsed out of the rpms when it is synced to our local server.  Unfortunately I cannot just use the online sites due to company mandated restrictions.

We're syncing from: http://rpms.famillecollet.com/enterprise/6/remi/x86_64/
And yes, EPEL6 is another repo we are syncing and it is enabled.

I have a feeling it's related to the  php(api) = 20090626-x86-64 requirement and the fact that yum says both 20090626 and 20090626-x86-64 are already installed.

Requires: php(api) = 20090626-x86-64
Installed: php-common-5.3.9-1.el6.remi.x86_64 (@remi-6-x86_64)
    php(api) = 20090626
    php(api) = 20090626-x86-64

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

I don't think I can much for this issue... which is very specific to your configuration, not to my repo which is working correctif when used directly.

In fact, this will be fixed with PHP 5.4 (which now have only 1 provides)  wink

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

I'll just work around it for now by manually installing the pecl rpms.  If it was just me, i'd say sure it's specific to me.  But I wouldn't think that syncing the repo locally and running a createrepo is that uncommon in the centos/redhat world.  Especially if we're trying to save you bandwidth smile

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Especially if we're trying to save you bandwidth

I hope you are using reposync ?

But I wouldn't think that syncing the repo locally and running a createrepo is that uncommon in the centos/redhat world.

Are you using createrepo 0.4.11-3.el5 or 0.9.8-4.el6 ? (I'm using latest 0.9.9-10.fc16)
Which options ? (--database seems mandatory, --unique-md-filenames seems useful, --compress-type=bz2 also for latest version)

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Looks like an upgrade to PHP 5.4 is the way to go for us for now then smile

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

When will PHP 5.4 be released here?  Wondering if it's worth me doing a workaround or not

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

See the annoucement on the top of the page...

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Remi wrote:

I hope you are using reposync ?

Are you using createrepo 0.4.11-3.el5 or 0.9.8-4.el6 ? (I'm using latest 0.9.9-10.fc16)
Which options ? (--database seems mandatory, --unique-md-filenames seems useful, --compress-type=bz2 also for latest version)

Yes using reposync.  The issue seems to be with 0.4.11-3 which is what our satellite server has installed.  If I do it on a rhel6 box with 0.9.8-4 it's fine and I don't get the error.

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

So, it's really a satellite/createrepo issue (which have been confirmed by a yum dev.)

Perhaps you could open a RH bug ? (as you are using supported product)

Else, you have a workaround : generate the repodata from a EL6 box

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Remi wrote:

So, it's really a satellite/createrepo issue (which have been confirmed by a yum dev.)

Perhaps you could open a RH bug ? (as you are using supported product)

Else, you have a workaround : generate the repodata from a EL6 box


As an updated, I opened a bug with Redhat and it seems to stem from the use of "20090626-x86-64" as a dependency version.  They are only expecting a single -.  I'm continuing to work with Redhat to try and get the metadata generation corrected in Satellite server to mirror the newer version of createrepo, but the issue is the version numbers you are using in your package.

From the support ticket with Redhat:

Redhat wrote:

From your output, we see the problem in their repo:
"Error: Package: php-pecl-memcache-3.0.6-2.el6.remi.x86_64 (remi-6-x86_64)
           Requires: php(api) = 20090626-x86-64"

The problem is that "20090626-x86-64" is not a valid rpmversion (and recent versions of rpmbuild have been fixed to not allow more than a single '-' as I understand it), and one part of yum/rpm/etc. parses the above as "epoch=0, version=20090626-x86, release=64" and another part parses it as "epoch=0, version=20090626, release=x86-64", and these don't match.

20 (edited by ThePowerTool 2013-11-07 20:43:48)

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Remi, I see this has been identified as a Spacewalk issue.  I am posting to 1. state I'm experiencing the same issue; 2) provide information; and 3) hopefully provide a work-around (which I'm testing).  I will post here and in the approprate bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1000950

OK, your web UI will not allow me to post the CL output.  I'm going to have to be creative,o give you a pastebin, or both! :-)

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Here's the CL output in a pastebin:  http://pastebin.com/y9yw29tf

If you wish to see the forum reply error copy the raw data into a reply (and you will see it fail with errors and prevent the post).

I'm testing the work-around and will post on that, shortly.

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

Thanks for the RH bug report.

FYI: already reported for RHN https://bugzilla.redhat.com/show_bug.cgi?id=1000950

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: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

I am currently unable to test the work-around.  If that changes, I will post.  I'm sorry.

The work-around is to uninstall h t t p d and then install php which will bring httpd as a dep.

Additionally, I spoke with the Spacewalk dev team.  They are fairly confident it's a yum problem and not a Spacewalk problem.

Re: Installing php-pecl-igbinary with php-common-5.3.9-1.el6.remi fails

> They are fairly confident it's a yum problem and not a Spacewalk problem.
It quite sure this is the opposite wink

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