我正在尝试在我的 Ubuntu 14.04 系统上安装 VLC,安装时出现如下错误,请帮助我。
$ 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.1.6-0ubuntu14.04.1) but it is not going to be installed
Recommends: vlc-plugin-notify (= 2.1.6-0ubuntu14.04.1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.1.6-0ubuntu14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
尝试以下步骤:
sudo apt-get update sudo apt-get upgrade
然后安装突触:
sudo apt-get install synaptic
使用 aptitude 代替 apt-get:
sudo aptitude install vlc
如果你的机器上还没有 aptitude,请使用以下命令获取:
sudo apt-get install aptitude
答案2
另一种故障排除方法可能是使用 aptitude 而不是 apt-get 来尝试安装您的软件包:
使用 aptitude 代替 apt-get:
sudo aptitude install vlc
答案3
使用 Synaptic 包管理器安装 VLC:
选择 vlc 并点击“标记为安装”,然后点击“应用”。