安装 VLC 时遇到问题

安装 VLC 时遇到问题

每当我尝试通过终端安装 VLC 时就会出现这种情况。

ankit@ankit-desktop:~$ sudo apt-get install vlc
[sudo] password for ankit: 
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.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
       Recommends: vlc-plugin-pulse (= 2.0.8+git20131023+r618-0~r13~ubuntu13.10.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我正在使用 Ubuntu 13.10。

请告诉我应该怎么做?

当我尝试从软件中心安装 VLC 时,弹出此消息Package dependencies cannot be resolved

答案1

您很可能已经设置了一台新机器并加密了您的系统。

  1. 同时按下ALTF2
  2. 键入-->software-properties-gtk 并选择它。
  3. 选择其他来源选项卡。
  4. 确保“规范合作伙伴”和“规范合作伙伴(源代码)”复选框均被选中。
  5. 同意请求的更新。

您现在应该可以安装 vlc 了。

答案2

尝试运行:

sudo apt-get -f install

这应该可以修复损坏的软件包或未满足的依赖关系。然后,您就可以安装 vlc 了。

答案3

看来您启用了第三方 PPA。禁用它们。请参阅此问题

现在用刷新你的包列表sudo apt-get update并执行sudo apt-get install -f来解决问题。

相关内容