I am trying to install ZeroMQ extension for PHP using Docker image php:7.4-apache-buster
.
The package is found when running apt list
:
$ sudo apt update && apt list php-zmq
outputs php-zmq/stable 1.1.3-9 amd64
It is not possible to install it however:
$ sudo apt install php-zmq
outputs E: Package 'php-zmq' has no installation candidate
I have checked that the package is not already installed using apt list --installed php-zmq
. Underlying libzmq5
library is present on the system.
I wonder how does apt list
command work that it suggests packages which apt install
is unable to install.
Thanks for any help.