好的,所以我正在尝试从源代码构建,为此我必须安装它的依赖项。
因此,其中一个依赖项如下:
karl@karl-ux303ln:~/dev/RBDOOM-3-BFG/neo(master)$ sudo apt-get install libsdl2-dev
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.
libsdl2-dev : Depends: libpulse-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
所以我检查libpulse-dev
:
The following packages have unmet dependencies.
libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11.1) but 1:4.0-0ubuntu11.1+kxstudio1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11.1) but 1:4.0-0ubuntu11.1+kxstudio1 is to be installed
E: Unable to correct problems, you have held broken packages.
从这里我几乎被困住了。我知道脉冲是造成声音的原因,但我不知道如何解决这个问题。
我还尝试了这个答案必须提供的一切:https ://askubuntu.com/a/142808/130518
好的,所以后缀是罪魁祸首,
+kxstudio1
具体来说。安装 trusty 下列出的那个:
对 .做同样的事情
libpulse-mainloop-glib0
。现在可以安装其他软件包了!:D
我正在使用
KXStudio
,安装时它必须使用自定义包更改包。