Dependencies 在Ubunto v.14.04下安装Kurento时出现依赖项错误

Dependencies 在Ubunto v.14.04下安装Kurento时出现依赖项错误,dependencies,kurento,Dependencies,Kurento,我想在我的linux机器Ubunto 14.04中安装Kurento() 我遵循以下安装说明进行安装: echo "deb http://ubuntu.kurento.org trusty kms6" | sudo tee /etc/apt/sources.list.d/kurento.list 输出为: deb http://ubuntu.kurento.org trusty kms6 然后: wget -O - http://ubuntu.kurento.org/kurento.gpg.

我想在我的linux机器Ubunto 14.04中安装Kurento()

我遵循以下安装说明进行安装:

echo "deb http://ubuntu.kurento.org trusty kms6" | sudo tee /etc/apt/sources.list.d/kurento.list
输出为:

deb http://ubuntu.kurento.org trusty kms6
然后:

wget -O - http://ubuntu.kurento.org/kurento.gpg.key | sudo apt-key add -
输出为:

--2015-11-30 18:55:44--  http://ubuntu.kurento.org/kurento.gpg.key
Resolving ubuntu.kurento.org (ubuntu.kurento.org)... 193.147.51.5
Connecting to ubuntu.kurento.org     (ubuntu.kurento.org)|193.147.51.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1694 (1.7K) [application/pgp-keys]
Saving to: ‘STDOUT’

100%[======================================>] 1,694       --.-K/s   in 0s      

2015-11-30 18:55:44 (234 MB/s) - written to stdout [1694/1694]

OK
Hit http://us.archive.ubuntu.com trusty Release   
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Reading package lists... Done   
然后:

sudo apt-get update
部分输出为:

--2015-11-30 18:55:44--  http://ubuntu.kurento.org/kurento.gpg.key
Resolving ubuntu.kurento.org (ubuntu.kurento.org)... 193.147.51.5
Connecting to ubuntu.kurento.org     (ubuntu.kurento.org)|193.147.51.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1694 (1.7K) [application/pgp-keys]
Saving to: ‘STDOUT’

100%[======================================>] 1,694       --.-K/s   in 0s      

2015-11-30 18:55:44 (234 MB/s) - written to stdout [1694/1694]

OK
Hit http://us.archive.ubuntu.com trusty Release   
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Reading package lists... Done   
最后:

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.2.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.0.1~20151111095734.298.g6d22bfb.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.2.0) but it is not going to be installed
                        Depends: kms-filters-6.0 (>= 6.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

在你看来,如何解决这个错误?谢谢

你能编辑你的答案并发布这四个命令的输出吗?谢谢,我已经按照你说的做了。希望有帮助。你能试试这个吗
sudo apt get install libglib2.0-0
这样我们就可以知道为什么无法安装该软件包,并尝试解决dependenciesHello问题,谢谢您的评论。在尝试
sudo-apt-get-install libglib2.0-0
之后,安装了库,并且似乎
sudo-apt-get-install-kurento-media-server-6.0
没有调用任何错误。因此,我可以使用sudo服务kurento-media-server-6.0 start启动服务器。我能多了解一点问题的来源和解决方法吗?问题是kurento提供的glib版本比ubuntu 14.04中的默认版本更新,这可能会导致问题,因为您已经安装了libglib2.0,但尚未更新,因为在更新过程中需要安装更新的依赖项,
apt-get
如果您没有直接安装库或执行
apt-get-dist升级
是否可以编辑您的答案并发布那四个命令?谢谢,我照你说的做了。希望有帮助。你能试试这个吗
sudo apt get install libglib2.0-0
这样我们就可以知道为什么无法安装该软件包,并尝试解决dependenciesHello问题,谢谢您的评论。在尝试
sudo-apt-get-install libglib2.0-0
之后,安装了库,并且似乎
sudo-apt-get-install-kurento-media-server-6.0
没有调用任何错误。因此,我可以使用sudo服务kurento-media-server-6.0 start启动服务器。我能多了解一点问题的来源和解决方法吗?问题是kurento提供的glib版本比ubuntu 14.04中的默认版本更新,如果您已经安装了libglib2.0,但尚未更新,这可能会导致问题,因为在更新过程中需要安装较新的依赖项,
apt-get
如果您没有直接安装库或执行
apt-get-dist升级