Topic: php-api version Not found for php-common 5.5.10-1 and 5.5.11-1

Hi,

I tried to install package php-pinba on my server and got the error:

# yum install php-pinba
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Including mirror: mirror.yandex.ru
* base: mirror.yandex.ru
* epel: fedora-mirror01.rbc.ru
Including mirror: mirror.yandex.ru
* extras: mirror.yandex.ru
* remi: mirror5.layerjet.com
* remi-php55: remirpm.mirror.gymkl.ch
Including mirror: mirror.yandex.ru
* updates: mirror.yandex.ru
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pinba.x86_64 77:1.0.0-9.el6.banki will be installed
--> Processing Dependency: php-api = 20121113-x86-64 for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
--> Processing Dependency: libprotobuf.so.6()(64bit) for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
--> Running transaction check
---> Package php-pinba.x86_64 77:1.0.0-9.el6.banki will be installed
--> Processing Dependency: php-api = 20121113-x86-64 for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
---> Package protobuf.x86_64 0:2.3.0-7.el6 will be installed
--> Finished Dependency Resolution
Error: Package: 77:php-pinba-1.0.0-9.el6.banki.x86_64 (banki)
           Requires: php-api = 20121113-x86-64
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               php-api = 20090626
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-api = 20090626
           Available: php-common-5.4.26-1.el6.remi.x86_64 (remi)
               php-api = 20100412-x86-64
           Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
               php-api = 20100412-x86-64
           Installed: php-common-5.5.11-1.el6.remi.x86_64 (@remi-php55)
               Not found
           Available: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
               Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

php-api version on my server:
# php -i 2>/dev/null | sed -n 's/^PHP API => //p'
20121113
php and php-common install from remi-php55 repo:
# rpm -qa | grep php-5
php-5.5.11-1.el6.remi.x86_64
# rpm -qa | grep php-common
php-common-5.5.11-1.el6.remi.x86_64

But package php-common-5.5.10-1.el6.remi.1.x86_64 and php-common-5.5.11-1.el6.remi.x86_64 not return php-api version in yum.

Specification my server:
OpenVZ Container CentOS 6.5 x86_64
# uname -a
Linux xxxxxxxxxxxxxxx.xx 2.6.32-042stab085.17 #1 SMP Thu Mar 6 16:49:33 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux

P.S. Package php-pinba i create in Mock enable repository CentOS + EPEL + remi + remi-php55

Re: php-api version Not found for php-common 5.5.10-1 and 5.5.11-1

$ rpm -qp --provides php-common-5.5.11-1.el6.remi.x86_64.rpm | grep 2012
php(api) = 20121113-64
php(zend-abi) = 20121212-64

php-common provides php(api) = 20131106-64, not 20121113-x86-64 which is not a valid version number.

This have been fixed (drop the double dash) in 5.5.0 in Fedora and in Remi repo a long time ago.

Sorry but I cannot help you with packages (php-pinba.x86_64 77:1.0.0-9.el6.banki) coming from some unknown repository.

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-api version Not found for php-common 5.5.10-1 and 5.5.11-1

I fixed php(api) version in my package php-pinba, but it did not help:

# yum install php-pinba
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Including mirror: mirror.yandex.ru
 * base: mirror.yandex.ru
 * epel: mirror.logol.ru
Including mirror: mirror.yandex.ru
 * extras: mirror.yandex.ru
 * remi: mirror5.layerjet.com
 * remi-php55: remirpm.mirror.gymkl.ch
Including mirror: mirror.yandex.ru
 * updates: mirror.yandex.ru
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pinba.x86_64 77:1.0.0-9.el6.banki will be installed
--> Processing Dependency: php-api = 20121113-64 for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
--> Processing Dependency: libprotobuf.so.6()(64bit) for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
--> Running transaction check
---> Package php-pinba.x86_64 77:1.0.0-9.el6.banki will be installed
--> Processing Dependency: php-api = 20121113-64 for package: 77:php-pinba-1.0.0-9.el6.banki.x86_64
---> Package protobuf.x86_64 0:2.3.0-7.el6 will be installed
--> Finished Dependency Resolution
Error: Package: 77:php-pinba-1.0.0-9.el6.banki.x86_64 (banki)
           Requires: php-api = 20121113-64
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               php-api = 20090626
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-api = 20090626
           Available: php-common-5.4.26-1.el6.remi.x86_64 (remi)
               php-api = 20100412-x86-64
           Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
               php-api = 20100412-x86-64
           Installed: php-common-5.5.11-1.el6.remi.x86_64 (@remi-php55)
               Not found
           Available: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Now php-pinba requires the correct version php(api) 20121113-64.

May be i not fully understand you, Remi, but i think problem in package php-common-5.5.11-1.el6.remi.x86_64. He return "Not Found" php-api in yum:
           Installed: php-common-5.5.11-1.el6.remi.x86_64 (@remi-php55)
               Not found
           Available: php-common-5.5.10-1.el6.remi.1.x86_64 (remi-php55)
               Not found

P.S.
php-pinba-1.0.0-9.el6.banki.x86_64 - package from my private repository.
I use SRPM from repo CentALT to create php-pinba for my repo.
http://centos.alt.ru/repository/centos/ … l6.src.rpm

Re: php-api version Not found for php-common 5.5.10-1 and 5.5.11-1

It should be php(api), not php-api.

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-api version Not found for php-common 5.5.10-1 and 5.5.11-1

Thank you, Remi.

I fix php-pinba.spec.