Topic: APC pckg dependency issue

Hi,

Could you please help me to debug pckg dependency problem with 'php-pecl-apc.x86_64'. I'm not sure if I'm reading this right but it looks like it requires a package that is already installed?

Resolving Dependencies
--> Running transaction check
---> Package php-pecl-apc.x86_64 0:3.1.15-0.3.svn329913.el6.remi will be installed
--> Processing Dependency: php(api) = 20100412-x86-64 for package: php-pecl-apc-3.1.15-0.3.svn329913.el6.remi.x86_64
--> Processing Dependency: php(zend-abi) = 20100525-x86-64 for package: php-pecl-apc-3.1.15-0.3.svn329913.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-apc-3.1.15-0.3.svn329913.el6.remi.x86_64 (remi-x86_64)
           Requires: php(zend-abi) = 20100525-x86-64
           Installed: php-common-5.4.16-1.el6.remi.x86_64 (@remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.10-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.12-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.13-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.14-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.4.15-1.el6.remi.x86_64 (remi-x86_64)
               php(zend-abi) = 20100525-x86-64
Error: Package: php-pecl-apc-3.1.15-0.3.svn329913.el6.remi.x86_64 (remi-x86_64)
           Requires: php(api) = 20100412-x86-64
           Installed: php-common-5.4.16-1.el6.remi.x86_64 (@remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.10-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.11-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.12-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.13-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.14-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
           Available: php-common-5.4.15-1.el6.remi.x86_64 (remi-x86_64)
               php(api) = 20100412-x86-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: APC pckg dependency issue

      Requires: php(zend-abi) = 20100525-x86-64
           Installed: php-common-5.4.16-1.el6.remi.x86_64 (@remi-x86_64)
               php(zend-abi) = 20100525-x86-64

As you can see, required version is correctly provided.

I think you are using satellite / spacewalk which have a bug in the metadata repo generation.
(20100525-x86-64 != 20100525-x86-64)

Sorry I don't have any solution (except manual installation with rpm command)

Note :
- php 5.5 use "20121113-64" (single dash) which avoid this problem
- which OS are you running spacewalk on ? (iirc, only el-5 verison is affected)
- will not help, but I recommend php-pecl-zendopcache instead of apc.

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: APC pckg dependency issue

Thanks for your reply.

I'm running Spacewalk (spacewalk-base-1.9.22-1.el6.noarch) on CentOS release 6.4 (Final).

Regards