当我尝试在 Ubuntu 16.04 上为 VLC 安装 Xvid 编解码器时,不知怎么搞乱了我的软件包系统,以至于我甚至无法安装软件升级——无论是通过Software Updater
,还是通过apt-get upgrade
$ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libxvidcore4 : Breaks: libxvidcore4:i386 (!= 3:1.3.2-dmo1) but 2:1.3.4-1 is installed
libxvidcore4:i386 : Breaks: libxvidcore4 (!= 2:1.3.4-1) but 3:1.3.2-dmo1 is installed
E: Unmet dependencies. Try using -f.
这两行似乎表明存在循环依赖。如何删除这些包并恢复到之前的工作状态?
答案1
尝试使用
sudo apt-get remove libxvidcore4
它对我有用。