我正在尝试在 ubuntu 16.10 上安装 Kurento Media Server 6,在安装文档的最后一步,我收到了类似的错误......
$ sudo apt-get install kurento-media-server-6.0
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:
kurento-media-server-6.0 : Depends: kms-core-6.0 (>= 6.6.1) but it is not going to be installed
Depends: libboost-filesystem1.58.0 but it is not installable
Depends: libboost-log1.58.0 but it is not installable
Depends: libboost-program-options1.58.0 but it is not installable
Depends: libboost-system1.58.0 but it is not installable
Depends: libboost-thread1.58.0 but it is not installable
Depends: gstreamer1.5-plugins-bad (>= 1.7.0~0) but it is not going to be installed
Depends: gstreamer1.5-plugins-good (>= 1.7.0~0) but it is not going to be installed
Depends: kms-elements-6.0 (>= 6.6.1) but it is not going to be installed
Depends: kms-filters-6.0 (>= 6.6.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
如何修复这个问题?
答案1
您需要将源更改为 Ubuntu 16 默认安装 14:可信赖 -> xenial
echo "deb http://ubuntu.kurento.org **xenial** kms6" | sudo tee /etc/apt/sources.list.d/kurento.list
wget -O - http://ubuntu.kurento.org/kurento.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install kurento-media-server-6.0
希望对你有帮助!
背景,