4

我正在尝试在 Ubutu Trusty (14.04) 中安装 Kurento (V 6.0) 的最新稳定版本。不幸的是,我收到了陌生的消息:

输出:

The following packages have unmet dependencies:
kurento-media-server-6.0 : Depends: kms-core-6.0 (>= 6.4.0) but it is not going to be installed
                        Depends: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is to be installed
                        Depends: libgstreamer1.5-0 (>= 1.7.1.1~20160224213114.199.gba35ee7.trusty) but it is not going to be installed
                        Depends: gstreamer1.5-plugins-base (>= 1.7.0~0) but it is not going to be installed
                        Depends: gstreamer1.5-libav (>= 1.7.0~0) but it is not going to be installed
                        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: gstreamer1.5-plugins-ugly (>= 1.7.0~0) but it is not going to be installed
                        Depends: kms-elements-6.0 (>= 6.4.0) but it is not going to be installed
                        Depends: kms-filters-6.0 (>= 6.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

输入:

echo "deb http://ubuntu.kurento.org trusty 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

我想 libglib2.0-0 和 libgstreamer1.5-0 发生了一些问题,但我不知道如何解决。

8 个月前,我在 Trusty 中成功安装了 Kurento 5.x 实例,但现在我必须更新到 6.x

4

3 回答 3

3

我有解决方案

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install kurento-media-server-6.0

然后

sudo apt-get install aptitude
sudo aptitude install kurento-media-server-6.0

这个对我有用

于 2016-03-14T05:13:20.533 回答
1

对我有用的是@hoanganh17b 解决方案

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install kurento-media-server-6.0
sudo apt-get install aptitude
sudo aptitude install kurento-media-server-6.0

然后当被问到接受这个解决方案?[Y/n/q/?],而不是键入Y,这样做:

Accept this solution? [Y/n/q/?] +
Accept this solution? [Y/n/q/?] n

滚动直到到达具有libglib2.0-0的行,在我的情况下是 22 和 23。该行将如下所示:

Upgrade the following packages:        

22)     libglib2.0-0 [2.42.2-0ubuntu1~14.04~ricotz0 (now, trusty) -> 2.46.1-1 (<NULL>)]  
23)     libglib2.0-bin [2.42.2-0ubuntu1~14.04~ricotz0 (now, trusty) -> 2.46.1-1 (<NULL>)]

然后键入ff。接受此解决方案的答案?[Y/n/q/?]部分:

Accept this solution? [Y/n/q/?] 22
Accept this solution? [Y/n/q/?] a 22


Accept this solution? [Y/n/q/?] 23
Accept this solution? [Y/n/q/?] a 23

然后将安装 kurento-media-server-6.0。

要测试并确认它已安装:

sudo service kurento-media-server-6.0 start
sudo service kurento-media-server-6.0 stop
于 2016-07-06T05:30:50.237 回答
0

根据 Kurento 安装指南 确保您的 ubuntu 版本是 14.04 LTS 64 位:必须在 Ubuntu 14.04 LTS(64 位)上安装 Kurento 媒体服务器(KMS)。

于 2017-01-25T12:38:37.903 回答