由於 qtcreator-plugin-ubuntu 依賴關係損壞,無法安裝 Ubuntu SDK

由於 qtcreator-plugin-ubuntu 依賴關係損壞,無法安裝 Ubuntu SDK

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk我嘗試透過在終端機中輸入來在我的 Ubuntu 13.10 虛擬機器(VMwarePlayer)上安裝 Ubuntu SDK 。該過程卡在某個點並且無法繼續下去,因此終止。終端機的最終視窗顯示以下內容:

Ign http://us.archive.ubuntu.com saucy-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com saucy-backports/universe Translation-en_US
Fetched 1,190 kB in 51s (22.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ubuntu-sdk : Depends: qtcreator-plugin-ubuntu but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
mrwhite@ubuntu:~$ 

我該怎麼辦?

答案1

首先aptitude透過運行安裝包,

sudo apt-get install aptitude

然後ubuntu-sdk透過aptitude安裝,

sudo aptitude install ubuntu-sdk

相關內容