在安装时sudo apt-get install ubuntu-sdk,
我遇到了这个问题,以下软件包具有未满足的依赖关系:
ubuntu-sdk : Depends: qtcreator-plugin-ubuntu-cordova but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
ubuntu-sdk
取决于qtcreator-plugin-ubuntu-cordova
。后者需要cordova-ubuntu-2.8
,,,。cordova-ubuntu-2.8-dev
qtcreator-plugin-ubuntu
qtcreator-plugin-ubuntu-cordova-common
qtcreator-plugin-ubuntu-cordova
由于无法安装,可能会引发此未满足的依赖性问题。
因此运行:
sudo apt-get install ubuntu-sdk qtcreator-plugin-ubuntu-cordova cordova-ubuntu-2.8 cordova-ubuntu-2.8-dev qtcreator-plugin-ubuntu qtcreator-plugin-ubuntu-cordova-common