这里有很多高手。我只是在通过终端安装软件时遇到了一些问题。例如,我想使用代码安装 wine sudo apt-get install wine
。但终端说:
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:
shotwell : Depends: shotwell-common (= 0.18.0-0ubuntu4) but 0.18.0-0ubuntu4.2 is to be installed
wine : Depends: wine1.6 but it is not going to be installed or
wine1.7 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
有人愿意帮助我吗?非常感谢各位大师。
答案1
您的包裹已破损。
先运行$ sudo aptitude -f install
修复该问题,然后继续安装葡萄酒。
不过,我个人更喜欢使用playonlinux,会自动为您处理 wine 版本等,并将应用程序保留在不同的 wineprefixes 中,这样就不会那么混乱。