unmet dependencies: php-memcached : Depends: phpapi-20190902
0
votes
1
answer
1078
views
I'm trying to install php-memcached (with php8.1) but have the following error:
# apt install php-memcached
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php-memcached : Depends: phpapi-20190902
E: Unable to correct problems, you have held broken packages.
I updated apt and tried apt install phpapi-20190902 but that gives:
Package phpapi-20190902 is a virtual package provided by:
php7.4-phpdbg 7.4.26-1
php7.4-fpm 7.4.26-1
php7.4-cli 7.4.26-1
php7.4-cgi 7.4.26-1
libphp7.4-embed 7.4.26-1
libapache2-mod-php7.4 7.4.26-1
You should explicitly select one to install.
E: Package 'phpapi-20190902' has no installation candidate
That are php7.4 packages when I am using php 8.1 (debian buster).
I tried
apt install php8.1-fpm
which instaled fine but still have the same issue.
I'm a bit lost.
Asked by Entretoize
(113 rep)
Jan 4, 2022, 09:23 AM
Last activity: Jan 6, 2022, 04:49 PM
Last activity: Jan 6, 2022, 04:49 PM