在 Ubuntu 11.10 中更新和重新安装 VLC 时出现问题

在 Ubuntu 11.10 中更新和重新安装 VLC 时出现问题

我似乎根本无法修复或更新、升级 VLC;这是我尝试安装时得到的,我以前有 VLC,但无法正常工作,所以我卸载了它;然后我尝试再次安装它以获得完整属性。所以现在我无法安装,因为我收到此消息,我已尝试了所有方法,并已查看您的网站以获取更多信息;对刚接触 Ubuntu 和 Linux 的人有什么建议吗?

# Package dependencies cannot be resolved
# This error could be caused by required additional software packages which are  missing or not installable. 
# Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time

# The following packages have unmet dependencies:

vlc:  
Depends: vlc-nox (= 1.1.12-2~oneiric1) but 2.1.0~~git20121022+r2158-0~r88~oneiric1 is to be installed  
Depends: libaa1 (>= 1.4p5) but 1.4p5-38build1 is to be installed  
Depends: libavcodec-extra-53 (>= 4:0.7-1) but 4:0.7.6ubuntu0.11.10.1+medibuntu1 is to be installed  
Depends: libavutil-extra-51 (>= 4:0.7-1) but 4:0.7.6ubuntu0.11.10.1+medibuntu1 is to be installed  
Depends: libc6 (>= 2.8) but 2.13-20ubuntu5.3 is to be installed  
Depends: libfreetype6 (>= 2.2.1) but 2.4.4-2ubuntu1.2 is to be installed  
Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.1-9ubuntu3 is to be installed  
Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.7.4-0ubuntu8.2 is to be installed  
Depends: libqtgui4 (>= 4:4.5.3) but 4:4.7.4-0ubuntu8.2 is to be installed  
Depends: libsdl-image1.2 (>= 1.2.10) but 1.2.10-2.1 is to be installed  
Depends: libsdl1.2debian (>= 1.2.10-1) but 1.2.14-6.1ubuntu4 is to be installed  
Depends: libstdc++6 (>= 4.6) but 4.6.1-9ubuntu3 is to be installed  
Depends: libxcb-xv0 (>= 1.2) but 1.7-3 is to be installed  
Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu3 is to be installed`

答案1

我也遇到过这种情况。你必须打开一个终端。首先要检查是否存在损坏的依赖关系:

sudo apt-get install -f

如果这不起作用,我会清除 vlc 并重新安装:

sudo apt-get purge vlc*
sudo aptitude purge $(dpkg -l|grep ^rc|awk '{ print $2 }')
sudo apt-get update
sudo apt-get autoremove
sudo apt-get install vlc

我不确定这是否有效,但请告诉我们,我可以根据您的结果进行调整。

相关内容