在Ubuntu 14.04上安装VLC媒体播放器

我在互联网上搜索了很多选项,在Ubuntu 14.04(Trusty Tahr)上安装VLC媒体播放器,但没有什么对我有用。

我该如何解决这个问题?

错误:

root@hiteshb-To-be-filled-by-OEM:~# apt-get install vlc Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libavcodec54 libavformat54 libchromaprint0 libmp3lame0 libvlc5 libvlccore7 vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse Suggested packages: libchromaprint-tools python-acoustid videolan-doc Recommended packages: libdvdcss2 The following NEW packages will be installed: libavcodec54 libavformat54 libchromaprint0 libmp3lame0 libvlc5 libvlccore7 vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

截至2015-09-23,此存储库提供的Ubuntu 14.04(Trusty Tahr)的最新VLC版本为2.2.1 。

打开终端并运行(14.04):

 sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update sudo apt-get install vlc vlc-plugin-* 

对于其他版本,请参见此处 。

要在Ubuntu上安装VLC媒体播放器,您可以尝试打开终端( Ctrl + Alt + T )并键入:

 sudo apt-get install vlc 

如果有错误,欢迎您粘贴输出,以便人们可以帮助您。

您可以尝试在包装盒上禁用IPv6。 有时它可能是一个问题。 要禁用IPv6,请将以下内容添加到/etc/sysctl.conf

 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 

之后打开终端( Ctrl + Alt + T )并键入:

 sudo sysctl -p && sudo apt-get update && sudo apt-get install vlc 

试试这个…

 sudo apt-get update sudo apt-get upgrade sudo apt-get install vlc 

这在2015-1-8对我有用:

 sudo add-apt-repository ppa:djcj/vlc-stable sudo apt-get update sudo apt-get install vlc