我正在尝试使用 MySQL 后端在 CentOS 6.5 上安装 iRedMail 0.8.5,但是在过程结束时收到以下依赖项错误消息:
Transaction Check Error:
file /usr/lib64/mysql/libmysqlclient.so.18.0.0 from install of mariadb-libs-5.
5.33a-1.el6.x86_64 conflicts with file from package compat-mysql55-5.5.34-1.el6.
remi.x86_64
file /usr/libexec/dovecot/managesieve conflicts between attempted installs of
dovecot-1:2.0.21-2.el6.x86_64 and dovecot-managesieve-2:0.2.6-22.el6.x86_64
file /usr/libexec/dovecot/managesieve-login conflicts between attempted installs of dovecot-1:2.0.21-2.el6.x86_64 and dovecot-managesieve-2:0.2.6-22.el6.x86_64
file /usr/lib64/dovecot/lib90_sieve_plugin.so conflicts between attempted inst
alls of dovecot-pigeonhole-2:0.2.6-22.el6.x86_64 and dovecot-1:2.0.21-2.el6.x86_64
file /usr/lib64/dovecot/libdovecot-sieve.so.0.0.0 conflicts between attempted installs of dovecot-pigeonhole-2:0.2.6-22.el6.x86_64 and dovecot-1:2.0.21-2.el6.x86_64
答案1
您所引用的文档说(除其他外)
对于 CentOS 或 Scientific Linux,请启用 CentOS/Scientific 官方 yum 存储库,并禁用所有第三方 yum 存储库以避免包冲突。
我看到上述 RPM 中至少有一个来自第三方存储库(compat-mysql55-5.5.34-1.el6.remi.x86_64
,我认为是来自http://rpms.famillecollet.com/
)。您需要先卸载所有有冲突的 RPM,然后才能继续安装此工具。
编辑:是的,应该可以通过yum
,尝试(第一个)
yum remove package compat-mysql55
看看情况如何。更大的问题是为什么一开始就安装它们,是否有需要更新包的数据库在运行,等等。如果这不是一个干净的安装,如果这台机器上已经有功能,你需要思考在执行此操作之前。