Kurento安装未满足的依赖项

时间:2016-03-14 04:13:24

标签: kurento

我正在尝试在Ubutu Trusty(14.04)中安装最新稳定版的Kurento(V 6.0)。不幸的是,我有更奇怪的消息:

输出:

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

输入:

class MyClass {
    public static void main(String[] args) {
        // declare an array of integers
        int[] arr;

        // allocates memory for 3 integers
        arr = new int[3];

        // initialize first element
        arr[0] = 100;
        // initialize second element
        arr[1] = 200;enter code here
        // and so forth
        arr[2] = 300;

        System.out.println("Element at index 0: "
                           + arr[0]);
        System.out.println("Element at index 1: "
                           + arr[1]);
        System.out.println("Element at index 2: "
                           + arr[2]);
    }
} 

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

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

3 个答案:

答案 0 :(得分:2)

我有解决方案

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

它对我有用

答案 1 :(得分:1)

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

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

然后当被问及 接受此解决方案? [Y / n / q /?] ,而不是键入 Y ,请执行以下操作:

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>)]

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

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

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

sudo service kurento-media-server-6.0 start
sudo service kurento-media-server-6.0 stop

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

测试并确认已安装:

portfolioList.showPortfolio(function(err:any, rows:any) {

答案 2 :(得分:0)

确保您的ubuntu版本为14.04 LTS 64位 基于Kurento安装指南: Kurento Media Server (KMS) has to be installed on Ubuntu 14.04 LTS (64 bits).