无法在 ubuntu 16.04 上安装 mbstring

无法在 ubuntu 16.04 上安装 mbstring

我正在 ubuntu 16.04 上安装 laravel 8 所需的 mbstring。出现以下错误。

root@localhost:~# sudo apt-get install php7.4-mbstring
Reading package lists... Done
Building dependency tree
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:
 php7.4-mbstring : Depends: libonig2 (>= 5.9.5) but it is not installable
E: Unable to correct problems, you have held broken packages.

相关内容