您的位置:首页 > 运维架构 > Linux

CentOS postfix无法启动——mysql-libs未安装

2014-01-12 22:03 856 查看
这段时间安装了CentOS卸掉了原先的Windows 7,安装和使用过程中遇到了很多问题,还好有Google,差不多都解决了

现在说一个常见的问题解决方式

在安装MySQL-Server时,需要卸载掉mysql-libs, 但是卸载安装之后会发现,postfix无法启动了,找了很多原因都没有找到原因,后面索性卸载了然后再安装,安装时,发现了postfix有一个依赖包就是mysql-libs ,postfix一直无法安装,于是寻求安装mysql-libs的方法,后面在一个国外的网站上找到了解决方法http://stackoverflow.com/questions/17531173/installing-mysql-libs-on-server-with-mysql-server5-5

原文解释是:

Well, this is a common problem with MySQL packages within CentOS 6. Yum is trying to satisfy requirements by installing
mysql-libs-5.1.69-1.el6_4.x86_64
. This package conflicts with files from package
MySQL55-server-5.5.32-1.cp1136.x86_64
.

There is a way to fix this without breaking your rpm database or uninstalling mysql55, just download mysql compatibility libs from mysql for el6 (CentOS and RHEL6 are full binary compatible). Get
MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm
(just google for it) and install this rpm using:
rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm
.

After this you can install ReviewBoard without yum trying to install mysql51 libs for satisfying dependencies.

我就先安装了MySQL-shared-compat-,不同版本后缀不同,之后可以正常安装mysql-libs,我是 yum install mysql-libs, 然后yum install postfix;

OK,问题解决了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: