【发布时间】:2020-12-17 01:16:29
【问题描述】:
当我尝试运行sudo yum install php-imagick
我收到了这样的回复:
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00:00
299 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-imagick.x86_64 0:3.4.4-10.el7.remi.7.4 will be installed
--> Processing Dependency: libMagickCore-6.Q16.so.6()(64bit) for package: php-pecl-imagick-3.4.4-10.el7.remi.7.4.x86_64
--> Processing Dependency: libMagickWand-6.Q16.so.6()(64bit) for package: php-pecl-imagick-3.4.4-10.el7.remi.7.4.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-imagick-3.4.4-10.el7.remi.7.4.x86_64 (remi-php74)
Requires: libMagickCore-6.Q16.so.6()(64bit)
Error: Package: php-pecl-imagick-3.4.4-10.el7.remi.7.4.x86_64 (remi-php74)
Requires: libMagickWand-6.Q16.so.6()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
服务器在 Amazon Linux 2 上,PHP 版本是 7.4.7
【问题讨论】:
-
您找到解决方法了吗?我花了几个小时试图弄清楚。
-
@AwkDenver,还没有。运气好吗?
标签: php amazon-ec2 imagick amazon-linux-2