aerospike-community/aerospike-client-php

Aerospike is not a Debian format archive [installing inside docker container]

Opened this issue · 1 comments

Im trying to install aerospike client php inside docker container by following these in https://github.com/aerospike/aerospike-client-php, but got this error :

root@f9e0f506df68:/var/www/html/vendor/aerospike/aerospike-client-php# composer run-script post-install-cmd
> cd src && ./build.sh
This Aerospike client requires PHP7
Aerospike C Client SDK is present.
warning: '/var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/aerospike-client-c-devel-4.6.9.debian11.x86_64.deb' file exists.  /aerospike-client-php/src/../aerospike-
warning:
warning: We will be using this package, rather than downloading a new package.
warning: If you would like to download a new package please remove
warning: the package file.
info: extracting files from 'aerospike-client-c-devel-4.6.9.debian11.x86_64.deb'
dpkg-deb: error: 'aerospike-client-c-devel-4.6.9.debian11.x86_64.deb' is not a Debian format archive

CHECK
   [✗] /var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/lib/libaerospike.a
   [✗] /var/www/html/vendor/aerospike/aerospike-client-php/src/../aerospike-client-c/package/usr/include/aerospike/aerospike.h

Script cd src && ./build.sh handling the post-install-cmd event returned with error code 2
root@f9e0f506df68:/var/www/html/vendor/aerospike/aerospike-client-php# 

*im using Ubuntu 20.04.3 LTS, docker 20.10.12

bbaga commented

Same issue on Debian GNU/Linux 11 (bullseye)

Looks like there is no package available for Debian 11:

https://artifacts.aerospike.com/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.debian11.x86_64.deb

Multiple Choices
The document name you requested (/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.debian11.x86_64.deb) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.debian10.x86_64.deb (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.debian9.x86_64.deb (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.pkg (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.ubuntu16.04.x86_64.deb (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.ubuntu18.04.x86_64.deb (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9-1.el7.x86_64.rpm (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.ubuntu14.04.x86_64.deb (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9-1.el6.x86_64.rpm (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9-1.el8.x86_64.rpm (common basename)
/artifacts/aerospike-client-c/4.6.9/aerospike-client-c-devel-4.6.9.debian8.x86_64.deb (common basename)