2017-07-18 95 views
0

我在CentOS6.9上安裝了CM和CDH,其中一個主機出現了一些錯誤。cloudera-manager-agent.rpm:不更新已安裝的軟件包錯誤

所以我想重新安裝cloudera-manager-agent,但失敗了。

然後我用rpm重新安裝(我下載的RPM),這裏是結果:

[[email protected] yum.repos.d]# rpm -e cloudera-manager* 
error: package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
error: package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
error: package cloudera-manager.repo is not installed 
error: package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
error: package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
[[email protected] yum.repos.d]# rpm -U cloudera-manager* 
error: cloudera-manager.repo: not an rpm package (or package manifest): 
[[email protected] yum.repos.d]# rpm -U cloudera-manager*.rpm 
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed 
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed 
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed 
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed 
[[email protected] yum.repos.d]# rpm -q cloudera-manager* 
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
package cloudera-manager.repo is not installed 
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed 
+0

我解決了這個問題'''rpm -qa | grep cloudera'''並通過'''rpm -e --noscripts xxx'''刪除這些數據包。 – bug

回答

0

嘗試用yum代替轉,看看是否能工程:

yum update cloudera-manager* 

UPDATE :

嘗試yum update。這將搜索系統的可用更新並顯示一個列表。你可以檢查cloudera是否在列表中。

然後檢查的官方網站,看看是否有下載任何新版本: https://www.cloudera.com/downloads/manager/5-12-0.html

如果嘗試下載軟件包,將其保存在服務器上,然後手動安裝:

rpm -Uhv package-version-.rpm 

另外您應該檢查/etc/yum.conf的內容exclude =選項。通常用於從更新中排除某些軟件包。如果你在那裏發現cloudera,那就是爲什麼它永遠不會更新這個包。

+0

謝謝你回答我,但我試過了,它不起作用。這裏是結果: '''沒有軟件包標記爲更新''' – bug

+0

我通過'''rpm -qa | grep cloudera'''並通過'''rpm -e --noscripts xxx'''刪除這些數據包。再次感謝。 – bug

+0

沒問題!很高興你最終解決了這個問題。 –