-2

我的 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.

我该怎么解决。

4

3 回答 3

0

vlc-nox安装包vlc

要删除,请使用:

sudo apt-get purge vlc-nox

接下来,要重新安装 vlc,请使用:

sudo apt-get update

sudo apt-get install vlc

于 2017-04-13T05:31:38.647 回答
0
% sudo snap install vlc

用于 Debian 和许多其他 Linux 发行版的 VLC 也使用 snap 包进行打包。这使我们能够直接向最终用户分发最新最好的 VLC 版本,并提供安全和关键错误修复、完整的编解码器和光学媒体支持。通过 snap 安装:

于 2021-04-10T16:57:30.450 回答
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
于 2017-09-27T12:07:23.353 回答