我正在尝试安装 Ubuntu 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.
好的,如果需要,我会找到解决方案,但我更恼火的是,为什么会这样?我不明白问题从哪里开始?有人在“简单的 3 步安装”上测试他们的软件吗?
这是一个抒情的题外话。我的第二个问题是我如何只使用 Qt Creator(而不是构建在它们之上的 Ubuntu SDK)来创建相同的 Ubuntu 应用程序?
@g_p 的输出:
The following packages have unmet dependencies:
ubuntu-sdk-libs-dev : Depends: libqt5webkit5-dev but it is not going to be installed
Depends: libqt5xmlpatterns5-dev but it is not going to be installed
Depends: qt3d5-dev but it is not going to be installed
Depends: qt5-default but it is not going to be installed
Depends: qtbase5-dev but it is not going to be installed
Depends: qtdeclarative5-dev but it is not going to be installed
Depends: qtlocation5-dev but it is not going to be installed
Depends: qtmultimedia5-dev but it is not going to be installed
Depends: qtscript5-dev but it is not going to be installed
Depends: qtsensors5-dev but it is not going to be installed
Depends: qttools5-dev but it is not going to be installed
在与Timur Fayzrakhmanov和Mateo(此处)讨论后,Timur Fayzrakhmanov设法安装了 Ubuntu-SDK。
问题是某些包没有通过身份验证,这导致了依赖性问题。感谢Mateo在聊天中提供的帮助。