我已经在Centos 6服务器上安装了MariaDB 5.3.3。为此,我必须在安装MariaDB服务器rpm之前发出以下命令:
rpm -e --nodeps mysql-libs现在,mariadb和服务器中的所有其他软件都正常工作。
今天,我试图升级服务器中的包--除了postfix之外,软件包已经成功升级--因为这个错误,我无法安装它:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mysql-libs is needed by postfix-2:2.6.6-2.2.el6_1.x86_64
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.6.6-2.1.el6_0.x86_64 has missing requires of mysql-libs
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2012-02-13-09-487yg1lQ.yumtx
.. install failed!有人能帮我克服这个问题吗?我很确定mysql-libs包中的软件已经由mariadb包安装了,但是这个信息并不在rpm系统中。
更多信息:
发布于 2012-02-24 15:32:22
这并不是说软件包是相互冲突的,而是在安装MariaDB-server时卸载后缀依赖项(postfix集成)。
如果您逆转您的步骤并再次重新安装mysql-libs,您将解决这个问题(但可能会丢失MariaDB)。不过,您可能只是通过安装compat-libs来获得幸运。
(考虑到缺乏答案,这可能是值得的。我会给它一次机会,当我得到一个空闲时间在一分钱6VM)
通过执行以下操作,将remi存储库添加到您的rpm回购中;
rpm -Uvh http://download.fedora.redhat.com/pub/epel/beta/6/i386/epel-release-6-5.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm然后试着安装mysql-compat rpm.
rpm -Uvh http://rpms.famillecollet.com/enterprise/6/test/x86_64/compat-mysql55-5.5.11-1.el6.remi.x86_64.rpm如果成功的话,看看你能不能更新
https://serverfault.com/questions/359997
复制相似问题