vlc 安装错误,依赖性

vlc 安装错误,依赖性

我最近从软件更新程序更新了 Ubuntu 14.04。更新后,一些软件包被删除。之后我发现 vlc 也从我的系统中删除了。所以我尝试安装 vlc,结果出现了如下错误:

mzsbulbul@bulbul-laptop:~$ 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 (= 2.2.1-3~ubuntu14.04.1~c42.ppa1) but it is not going to be installed
       Depends: libstdc++6 (>= 4.9) but 4.8.4-2ubuntu1~14.04.1 is to be installed
       Recommends: vlc-plugin-notify (= 2.2.1-3~ubuntu14.04.1~c42.ppa1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.1-3~ubuntu14.04.1~c42.ppa1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我也尝试过,sudo apt-get -f install & sudo aptitude install vlc但是没解决。

答案1

添加存储库世界:

sudo apt-add-repository universe

更新包:

sudo apt-get update

安装vlc

sudo apt-get install vlc browser-plugin-vlc

更多解释https://wiki.videolan.org/Documentation:Installing_VLC/#Ubuntu

# sudo apt-get update
# sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc

相关内容