我按照http://developer.ubuntu.com/apps/create/get-the-sdk/。但安装失败,最后出现以下消息:
The following packages have unmet dependencies:
ubuntu-sdk : Depends: ubuntu-sdk-libs-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
知道为什么吗?我已经尝试解决一些类似的问题。但到目前为止,没有一个能帮上忙。
答案1
有一个主要错误已解决。删除以前的 PPA 并:
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install ubuntu-sdk