2012-01-17 52 views
0

我試圖安裝yum-utils包來解決一個破碎的安裝,但它沒有因衝突:不能安裝yum-utils的化解破安裝中由於衝突

sudo yum install yum-utils --skip-broken 

回報

Loaded plugins: fastestmirror, priorities, security, update-motd 
Loading mirror speeds from cached hostfile 
Setting up Install Process 
Resolving Dependencies 
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. 
The program yum-complete-transaction is found in the yum-utils package. 
--> Running transaction check 
---> Package yum-utils.noarch 0:1.1.30-6.11.amzn1 will be installed 
--> Processing Conflict: yum-utils-1.1.30-6.11.amzn1.noarch conflicts system-release <= 2011.09-1.33 
--> Finished Dependency Resolution 

Packages skipped because of dependency problems: 
yum-utils-1.1.30-6.11.amzn1.noarch from amzn-updates 

我發現自己處於catch-22狀態,我不知道如何解決它。由於安裝中斷(它建議運行yum-utils中的yum-complete-transaction),因此無法安裝任何帶yum的軟件包,但安裝yum-utils也會失敗。

任何幫助將不勝感激。

感謝, 中號

+0

沒有人可以幫幫忙? – Migsy 2012-01-23 17:03:44

回答

1

好吧,我遇到了同樣的問題 - 百勝轟炸了,我不能安裝yum完成的事務。最後,我所做的是從另一個Amazon實例複製/ usr/sbin/yum-complete-transaction,然後運行它,並在完成其餘事務處理後安裝'yum-utils'軟件包。

我知道這可能不是解決它「最正確」的方法,但它的工作很坦率地說,如果這是愚蠢的,但工作,這不是愚蠢的:)