我正在尝试安装 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
答案1
在聊天中讨论后蒂穆尔·法伊兹拉赫曼诺夫和马特奥(这里),蒂穆尔·法伊兹拉赫曼诺夫成功安装 Ubuntu-SDK。
问题在于一些包没有得到认证,这导致了依赖性问题。我感谢马特奥感谢您在聊天中提供的帮助。