Kurento 安装未满足的依赖项
Kurento Installation Unmet Dependencies
我正在尝试在 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
我有解决办法
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
对我有用
对我有用的是@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
确保您的 ubuntu 版本是 14.04 LTS 64 位
基于 Kurento 安装 guid:
Kurento Media Server (KMS) has to be installed on Ubuntu 14.04 LTS (64 bits).
我正在尝试在 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
我有解决办法
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
对我有用
对我有用的是@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
确保您的 ubuntu 版本是 14.04 LTS 64 位 基于 Kurento 安装 guid: Kurento Media Server (KMS) has to be installed on Ubuntu 14.04 LTS (64 bits).