我正在尝试在php v5.4.45和Centos v6.5中安装php-pecl-memcached。
我的命令如下。
yum --enablerepo=remi install php-pecl-memcached
但是我遇到了以下错误。
Transaction Check Error:
file /usr/lib64/libhashkit.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64
file /usr/lib64/libmemcached.so.11.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64
file /usr/lib64/libmemcachedutil.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64
我尝试通过以下命令删除 libmemcached10。
yum remove libmemcached10
但是,它不起作用。错误详细信息如下。
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: libmemcached10
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* epel: mirrors.hustunique.com
* extras: ftp.iij.ad.jp
* ius: archive.linux.duke.edu
* updates: ftp.iij.ad.jp
Package(s) libmemcached10 available, but not installed.
No Packages marked for removal
你能告诉我如何解决这个问题吗?
您不能同时使用"remi"和"IUS"存储库
所以:删除libmemcached10(从IUS)并重试。
请注意,PHP 5.4 现在是 EOL。IUS 已将其从其存储库中删除,而它仍然在"remi"中可用,安全修复从 5.5 向后移植。在所有情况下,强烈建议升级到维护版本。
请参阅:http://rpms.remirepo.net/wizard/