2012-04-06 44 views
1

Eclipse在嘗試從Indigo 3.7.1和Android SDK 15更新後遇到依賴關係問題。
似乎安裝了所有Android組件,但我收到以下消息「可用更新」窗口中的「There were no installable units selected when the plan was computed」。Eclipse錯誤安裝更新Indigo 3.7.2 w/ADK

正在嘗試安裝Eclipse SDK版本3.7.2.M20120208-800。

任何有關這個問題的幫助表示讚賞。請參閱下面的詳細信息:


Cannot complete the install because of a conflicting dependency. 
    Software being installed: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) 
    Software currently installed: Shared profile 1.0.0.1321891729401 (SharedProfile_SDKProfile 1.0.0.1321891729401) 
    Only one of the following can be installed at once: 
    Simple Configurator Manipulator 2.0.0.v20110502-1955 (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.v20110502-1955) 
    Simple Configurator Manipulator 2.0.0.v20110815-1438 (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.v20110815-1438) 
    Cannot satisfy dependency: 
    From: Shared profile 1.0.0.1321891729401 (SharedProfile_SDKProfile 1.0.0.1321891729401) 
    To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.v20110502-1955] 
    Cannot satisfy dependency: 
    From: Equinox p2 Core Function 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129 (org.eclipse.equinox.p2.core.feature.feature.group 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129) 
    To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.v20110815-1438] 
    Cannot satisfy dependency: 
    From: Equinox p2 Provisioning for IDEs. 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl (org.eclipse.equinox.p2.user.ui.feature.group 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl) 
    To: org.eclipse.equinox.p2.core.feature.feature.group [1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129] 
    Cannot satisfy dependency: 
    From: Eclipse SDK 3.7.2.M20120208-0800 (org.eclipse.sdk.ide 3.7.2.M20120208-0800) 
    To: org.eclipse.equinox.p2.user.ui.feature.group [2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl] 

回答

2

患有因「Software currently installed:Shared profile」衝突的依賴可能是在shared installation共享插件問題的搬弄是非(不能,除非運行的更新管理員,在bug 339659報道)

Bug 322344總結道:

您在c:\Program Files下有大量插件,並且由於UAC,Eclipse無法在此處編寫。當你安裝加載項(沒有升級,只是額外的捆綁包)時,他們進入~/.eclipse,這是用戶主目錄下的一個隱藏文件夾。
但是,我們無法在此文件夾中執行任何「更新」,因爲您處於共享安裝模式,並且假定管理員將「更新」基礎。

但是,在某些情況下,安裝將強制更新(新插件X取決於更新Y)。
在這種情況下,我們可能會陷入困境,所以我們'鎖定'共享區域,以便更新不會發生。
這就是你打的。

因此,在更新Eclipse安裝時可能會遇到一些寫入特權問題(如bug 287246中所述)。

+0

感謝VonC的輸入。我驗證了\ plugins \ .eclipse文件夾完全控制了管理員。 – GregM 2012-04-07 15:23:46