在documentation for RHEL / CentOS之后,这是我尝试安装libcouchbase的方法:
wget http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-6-x86_64.rpm
sudo rpm -iv couchbase-release-1.0-6-x86_64.rpm
sudo yum install libcouchbase-devel libcouchbase2-bin gcc gcc-c++
但是libcouchbase-devel
和libcouchbase2-bin
失败并显示:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/lib64/libcouchbase.so.2.0.65 conflicts between attempted installs of libcouchbase-2.10.3-1.el6.remi.x86_64 and libcouchbase2-core-2.10.3-1.el6.x86_64
Error Summary
-------------
我尝试一次安装这些软件包,但是,如果我先安装libcouchbase-devel
,则安装成功,而libcouchbase2-bin
则失败。如果删除我安装的内容并执行libcouchbase2-bin first it succeeds, but then
libcouchbase-devel`失败。
这显然表明某处存在冲突,但是我不确定该冲突到底是什么
答案 0 :(得分:1)
我删除了名称为yum remove packagename
然后,yum install libcouchbase libcouchbase-devel