为什么部分升级后更新时会出现此错误?

为什么部分升级后更新时会出现此错误?

系统提示我进行部分升级,然后我完成了升级。在此期间,VLC 被删除。当我尝试重新安装它时,我得到了以下信息:

isuru@isuru-desktop:~$ 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 (= 1.1.13-1~ppa1~lucid1) but it is not going to be installed
Recommends: vlc-plugin-notify (= 1.1.13-1~ppa1~lucid1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 1.1.13-1~ppa1~lucid1) but it is not going to be installed 
E: Broken packages 

isuru@isuru-desktop:~$

sudo apt-get install vlc-nox 
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-nox: 
Depends:
libavformat52 (>= 4:0.6-1~) but it is not going to be installed or libavformat-extra-52 (>= 4:0.6-1~) 
E: Broken packages

答案1

尝试运行这个:

sudo apt-get 安装 -f

这样能解决问题吗?

答案2

打开终端运行

sudo apt-get update && sudo apt-get dist-upgrade

完成后,打开软件中心并vlc在搜索字段中输入内容,然后按照正常方式执行其余步骤。

相关内容