2013-08-31 136 views
0

一直試圖在Windows Azure上的OpenLogic Centos VM上安裝MySQL 5.5,但它依然失敗,稱依賴性失敗。如何在Azure虛擬機上安裝mysql 5.5 CentOS

嘗試使用remi repo沒有運氣。

想有任何建議,以獲得MySQL 5.5安裝在CentOS VM在Windows Azure上

命令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

你可以發佈你的整個錯誤以及你要安裝的步驟嗎?這個問題也許會在[serverfault.com](http://serverfault.com/)上得到更好的服務。 – paqogomez

回答

1

有一個很少有依賴項需要運行。

雷米依賴在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 

退房Update MySQL version from 5.1 to 5.5 in CentOS 6.2爲好。

+0

這些命令與之前嘗試的命令相同,但沒有幫助。 –