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

来源:互联网 发布:三大耻辱 知乎 编辑:程序博客网 时间:2024/06/01 08:28

这段时间安装了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 installingmysql-libs-5.1.69-1.el6_4.x86_64. This package conflicts with files from packageMySQL55-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). GetMySQL-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,问题解决了


0 0
原创粉丝点击