一直试图在Windows Azure上的OpenLogic Centos VM上安装MySQL 5.5,但它一直未能说依赖性失败。
尝试使用remi repo但没有运气。
希望有建议在Windows Azure上的CentOS VM上安装MySQL 5.5
命令RUN -
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi,remi-test install mysql mysql-server
输出 -
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: real-mysql-libs(x86-64) = 5.5.33-1.el6.remi for package: mysql-5.5.33-1.el6.remi.x86_64
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.67-1.el6_3 will be updated
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
---> Package mysql-libs.x86_64 0:5.5.33-1.el6.remi will be an update
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Running transaction check
---> Package compat-mysql51.x86_64 0:5.1.54-1.el6.remi will be installed
---> Package mysql-server.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.0)(64bit) for package: mysql-server-5.5.33-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-server-5.5.33-1.el6.remi.x86_64 (remi)
Requires: libz.so.1(ZLIB_1.2.0)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案 0 :(得分:1)
您需要一些依赖项才能让它运行。
Remi依赖CentOS 6和Red Hat(RHEL)6
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
安装MySQL服务器
yum --enablerepo=remi,remi-test install mysql mysql-server