sudo apt install php7.0-intl
输出:
The following packages have unmet dependencies:
php7.0-intl : Depends: libicu66 (>= 66.1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
以前的版本从来没有这个依赖的问题
有任何想法吗?..
> uname -a
Linux ###### 5.13.0-21-generic #21-Ubuntu SMP Tue Oct 19 08:59:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
恐慌取消
只下载二进制
并手动安装:
之后,您可以安装 php-intl:
现在安装成功