我正在使用 php5.5 运行 Lamp 服务器CentOS release 6.6 (Final)
:
$ php -v
PHP 5.5.17 (cli) (built: Sep 20 2014 17:12:00)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
当我运行时,yum update
出现此依赖错误:
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package libwebp.x86_64 0:0.3.1-2.el6.remi will be updated
--> Processing Dependency: libwebp.so.4()(64bit) for package: ImageMagick-last-libs-6.8.9.7-4.el6.remi.x86_64
---> Package libwebp.x86_64 0:0.4.3-3.el6 will be an update
--> Finished Dependency Resolution
Error: Package: ImageMagick-last-libs-6.8.9.7-4.el6.remi.x86_64 (@remi)
Requires: libwebp.so.4()(64bit)
Removing: libwebp-0.3.1-2.el6.remi.x86_64 (@remi)
libwebp.so.4()(64bit)
Updated By: libwebp-0.4.3-3.el6.x86_64 (epel)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我的模糊的对此的理解是,ImageMagick 更新需要libwebp.so.4
,但我已经libwebp-0.3.1-2.el6.remi.x86_64
从@remi
rpm 但这已从 rpm 更新libwebp-0.4.3-3.el6.x86_64
为epel
。
正确吗?如果不正确,上述输出是什么意思?
更重要的是我该如何解决这个问题?
答案1
好的,所以我通过以下方式找到了答案这个帖子在‘Remi’ repo 的论坛上。
该ImageMagick-last-libs
软件包已过期。我不明白为什么无法使用该yum update
命令更新它,但此命令修复了该问题,并且ImageMagick
和libwebp
都已更新:
yum --disablerepo="webtatic" --enablerepo="remi" install ImageMagick-last-libs-6.9.1.4-1.el6.remi.x86_64