我的vlc是工作文件,但安装octave vlc后崩溃了。 我尝试重新安装它并使用以下代码进行修复,但它无法正常工作
$ sudo apt-get purge vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
$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: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.
然后我尝试安装libgles1-mesa
$ sudo apt-get install libgles1-mesa
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:
libgles1-mesa : Depends: libglapi-mesa (= 13.0.4-1ubuntu1~16.10~0.1) but
17.0.3~git20170404+17.0.71d2f05a-0ubuntu0ricotz2~yakkety is to be installed
E: Unable to correct problems, you have held broken packages.
然后我尝试了libglapi-mesa
$ sudo apt-get install libglapi-mesa
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglapi-mesa is already the newest version (17.0.3~git20170404+17.0.71d2f05a- 0ubuntu0ricotz2~yakkety).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
我该如何解决它。
答案 0 :(得分:0)
vlc-nox
包安装vlc
要删除,请使用:
sudo apt-get purge vlc-nox
接下来,要重新安装vlc,请使用:
sudo apt-get update
sudo apt-get install vlc
答案 1 :(得分:0)
我只能使用VLC的主分支来实现它
https://launchpad.net/~videolan/+archive/ubuntu/master-daily
首先添加存储库
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
答案 2 :(得分:0)
% sudo snap install vlc
用于 Debian 和许多其他 Linux 发行版的 VLC 也使用 snap 包打包。这使我们能够将最新和最好的 VLC 版本直接分发给最终用户,并提供安全和关键错误修复、完整的编解码器和光学媒体支持。 通过 snap 安装: