Noo*_*tor 5 installation ubuntu vlc libavcodec ubuntu-14.04
花了大约4小时现在仍然无法弄清楚这里有什么问题.
这是终端转储:
machine@machine:~$ sudo apt-get install vlc
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:
vlc : Depends: vlc-nox (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed
Depends: libavcodec55 (>= 6:9.1-1) but it is not installable or
libavcodec-extra-55 (>= 6:10~~git20131218.b3189af~ubuntu14.04.1) but it is not installable
Depends: libavutil53 (>= 6:9.1-1) but it is not installable
Recommends: vlc-plugin-notify (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed
Recommends: vlc-plugin-samba (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
machine@machine:~$ sudo apt-get install libavcodec55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavcodec55' has no installation candidate
machine@machine:~$ sudo apt-get install libavutil53
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavutil53 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavutil53' has no installation candidate
machine@machine:~$
Run Code Online (Sandbox Code Playgroud)
我正在使用ubuntu 14.04(可靠),我几乎尝试了一切,但无法解决这些依赖关系
问题是对于不可用的库显示依赖关系.请帮助解决此问题.谢谢!
PS:我的askubuntu帐户不适用于某些后端帐户不匹配,这就是为什么我问SO
Noo*_*tor 10
显然有一些第三方PPA安装,我使用终端下面的命令解决了:
删除第三方PPA
sudo rm /etc/apt/sources.list.d/mc3man-trusty-media-trusty*
Run Code Online (Sandbox Code Playgroud)
然后删除为VLC添加的PPA(如果有的话)
sudo rm /etc/apt/sources.list.d/videolan-master-daily*
Run Code Online (Sandbox Code Playgroud)
更新
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
安装VLC:
sudo apt-get install vlc
Run Code Online (Sandbox Code Playgroud)
参考:链接
然后我偶然发现了另一个问题,VLCSub(VLC字幕下载器的内置实用程序)在这个版本的VLC中没有工作,所以我删除了上面所有已安装的东西:
sudo apt-get purge vlc
Run Code Online (Sandbox Code Playgroud)
然后为VLCSub兼容的VLC运行这些命令(这已过时,请参阅下面的编辑)
sudo add-apt-repository ppa:djcj/vlc-stable sudo apt-get update sudo apt-get install vlc
参考:链接
编辑(2015年7月7日更新)
所以,djcj/vlc-stable是注定要失败的,这是我在我的最新的Ubuntu安装如何更新的14.04:
对于2.2.1版
sudo apt-get remove vlc vlc-plugin-* #remove any vlc data / plugin
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install vlc vlc-plugin-*
Run Code Online (Sandbox Code Playgroud)
参考:链接
..... 不要忘记添加VLSub以获得愉快的字幕下载体验 :)
我正在使用ppa:djcj/vlc-stable,但似乎已经消失了.最后几个软件更新抱怨它无法找到文件.
我删除了这个PPA,并尝试了一些我使用Google搜索找到的其他PPA,但没有任何效果.我一直得到与上面相同/类似的错误.
我终于尝试了以下命令:
sudo apt-get purge vlc-* # include the hyphen
Run Code Online (Sandbox Code Playgroud)
它成功删除了vlc数据.之后,我能够使用以下命令安装和运行VLC:
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc
Run Code Online (Sandbox Code Playgroud)
希望有所帮助.
| 归档时间: |
|
| 查看次数: |
10217 次 |
| 最近记录: |