我想在Oracle的Linux 7上安裝MariaDB的安裝MariaDB的,但我有此錯誤:如何在Oracle Linux的7
我跑這個命令yum install mariadb mariadb-server mysql
安裝MariaDB的,這是輸出:
--> Finished Dependency Resolution
Error: Package: 1:mariadb-5.5.52-1.el7.x86_64 (ol7_latest)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.35-3.el7
Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
Available: 1:mariadb-libs-5.5.44-2.0.1.el7.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.44-2.0.1.el7
Available: 1:mariadb-libs-5.5.47-1.el7_2.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
Available: 1:mariadb-libs-5.5.50-1.el7_2.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.50-1.el7_2
Available: 1:mariadb-libs-5.5.52-1.el7.i686 (ol7_latest)
~mariadb-libs(x86-32) = 1:5.5.52-1.el7
Error: Package: 1:mariadb-server-5.5.52-1.el7.x86_64 (ol7_latest)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.35-3.el7
Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
Available: 1:mariadb-libs-5.5.44-2.0.1.el7.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.44-2.0.1.el7
Available: 1:mariadb-libs-5.5.47-1.el7_2.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
Available: 1:mariadb-libs-5.5.50-1.el7_2.x86_64 (ol7_latest)
mariadb-libs(x86-64) = 1:5.5.50-1.el7_2
Available: 1:mariadb-libs-5.5.52-1.el7.i686 (ol7_latest)
~mariadb-libs(x86-32) = 1:5.5.52-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我需要運行不同的命令嗎?或者是不可能提前
在Oracle Linux的安裝MariaDB的7感謝
顯然,問題是由於某種原因它在搜索'x86-64'時發現了'x86-32'。你想把它安裝在'i686'還是'x86_64'上?嘗試運行'sudo yum clean all',然後重複嘗試,但刪除'mysql'(以防萬一,不應該需要它):'yum install mariadb mariadb-server' – elenst
我的服務器是x86_64 –
I嘗試什麼ü說,sudo yum清理所有,然後yum安裝mariadb mariadb-server,但仍然得到相同的錯誤 –