我正在尝试安装(使用php8.1),但是有以下错误:
# 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.我更新了apt并尝试了apt安装phpapi-20190902,但这提供了:
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当我使用php8.1 (debian )时,这是php7.4包。我尝试了apt install php8.1-fpm,它安装得很好,但仍然有相同的问题。我有点迷路了。
发布于 2022-01-06 16:49:59
似乎您正在从php8.1存储库中安装sid。
sid存储库有一个包php8.1-memcache,它被描述为"memcache扩展模块for C3“。
如果这是你要寻找的,你应该安装它,看看它是否交付了你所期望的。如果这不是你想要的,你应该用更多的信息来澄清你的问题。
https://unix.stackexchange.com/questions/684941
复制相似问题