我尝试通过在终端中输入以下内容在我的 Ubuntu 13.10 虚拟机 (VMwarePlayer) 上安装 Ubuntu SDK sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install 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