在 ubuntu 14.04 上安装 VLC 播放器时收到以下错误:
The following packages have unmet dependencies:
vlc: Depends: vlc-nox (= 2.1.6-0ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed
Depends: libc6 (>= 2.15) but 2.19-0ubuntu6.6 is to be installed
Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.4 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed
答案1
这意味着您很长时间没有更新很多系统包,或者您没有从存储库安装 vlc 包。
跑步
sudo apt-get update
然后运行
sudo apt-get upgrade
然后运行
sudo apt-get install vlc
如果你仍然遇到问题,请运行
sudo apt-get -f install