我正在尝试安装 percona 服务器。这是一台测试机,安装的软件包并不重要。我需要做的就是安装 percona mysql 服务器。
http://www.percona.com/downloads/Percona-Server-5.0/Percona-Server-5.0.90-21/RPM/rhel5/i386/
我下载并尝试安装。我有几个依赖性问题。
# rpm -ivh Percona-SQL-server-50-5.0.90-b21.10.rhel5.i386.rpm
file /usr/share/mysql/ukrainian/errmsg.sys from install of Percona-SQL-server-50-5.0.90-b21.10.rhel5.i386 conflicts with file from package mysql-libs-5.1.61-4.el6.i686
# rpm -e mysql-libs-5.1.61-4.el6.i686
error: Failed dependencies:
libmysqlclient.so.16 is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
libmysqlclient.so.16(libmysqlclient_16) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
mysql-libs is needed by (installed) postfix-2:2.6.6-2.2.el6_1.i686
# rpm -e postfix-2:2.6.6-2.2.el6_1.i686
error: package postfix-2:2.6.6-2.2.el6_1.i686 is not installed
# rpm -e postfix-2.6.6-2.2.el6_1.i686
error: Failed dependencies:
/usr/sbin/sendmail is needed by (installed) cronie-1.4.4-7.el6.i686
/usr/sbin/sendmail is needed by (installed) redhat-lsb-4.0-3.el6.i686
绕过所有依赖性问题安装此软件包的快速方法是什么?
您可能需要下载并安装这些软件包:http ://www.percona.com/downloads/Percona-Server-5.0/LATEST/RPM/rhel6/i686/
看来您正在尝试将 RHEL5 软件包安装到 RHEL6 系统。您可以通过键入以下内容来验证这一点:
如果您忽略依赖性或只是尝试满足您找到的随机包,您将发现自己陷入“RPM 地狱”。仅仅因为它是一个 RPM 并不意味着它适用于您的发行版。Percona 确实有一个yum 存储库。我建议您遵循这些指示,假设您使用的是 CentOS 或 RedHat。那么安装 percona 就和
yum install Percona-Server-server-51
.问题1
据我所知,您正在 6.x 系统上安装 5.x 的 rpm
问题 2 .. 安装他们的 yum repo 并以这种方式安装
按照这里的步骤
http://www.percona.com/docs/wiki/repositories:yum
尝试
这应该解决所需的依赖关系