我在 Wine 上遇到了问题。我无法安装软件,结果如下:
kamdem@kamdem-HP-EliteBook-8470p:~$ sudo apt-get --download-only dist-upgrade
Reading package lists... Done
Building dependency tree
Reading status information... Done
You can run 'apt --fix-broken install' to fix these problems.
The following packages have unmet dependencies:
wine : Depends: wine1.6
wine1.6-amd64: Depends: wine1.6:any (= 1:1.6.2-0ubuntu14)
Recommends: libp11-kit-gnome-keyring but it is not installed
Recommends: libpng12-0 but it is not installed.
Recommended: unixodbc
Recommends: wine-gecko2.21 but it is not installed.
Recommended: wine-mono0.0.8 but it is not installed.
wine1.6-i386:i386: Depends: wine1.6:any (= 1:1.6.2-0ubuntu14)
Recommends: libgif7:i386 but it is not installed.
Recommends: libp11-kit-gnome-keyring:i386 but it is not installed.
Recommends: libpng12-0:i386 but it is not installed.
Recommends: libxt6:i386 but it's not installed
Recommends: p11-kit-modules:i386 but it is not installed
Recommended: unixodbc:i386
Recommends: wine-gecko2.21:i386 but it is not installed.
Recommended: wine-mono0.0.8:i386
E: Unmet dependencies. Try 'apt --fix-broken install' without a package.
(or provide a solution).
答案1
我不懂法语,但我想我已经了解你的问题了。
您遇到了软件包依赖关系问题。要解决此问题,请执行以下操作:
1.更新存储库信息
这是第 2 步的准备工作。您需要更新 APT 存储库信息。如果不更新,您的问题很可能无法解决。要执行此操作,请在终端中输入以下内容并按回车键:
sudo apt update
2.修复依赖问题
要解决问题的根源,这一步是必须的。您遇到了软件包依赖性问题。在大多数情况下,APT 可以修复这些类型的问题。为此,请在终端上输入以下内容并按回车键:
sudo apt --fix-broken install
3.重试并做任何你想做的事情
问题已解决。现在您可以使用命令升级所有软件包。或者,您也可以在 Ubuntu 上随时执行此操作。