我正在使用以下文章来解决此问题: http://ubuntuforums.org/showthread.php?t=2246183
这是我得到的输出:
aditya@aditya-Vostro-3446:~/$ sudo apt-get purge wine
[sudo] password for aditya:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
aditya@aditya-Vostro-3446:~/$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
aditya@aditya-Vostro-3446:~/$
aditya@aditya-Vostro-3446:~/$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wine : Depends: wine1.6 but it is not going to be installed or
wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
当我尝试使用 ubuntu 软件中心安装 wine 时收到以下消息:
以下软件包具有未满足的依赖关系:
q4wine: Depends: libc6 (>= 2.14) but 2.15-0ubuntu10.9 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed
Depends: libqt4-dbus (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libqt4-network (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libqt4-sql (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libqt4-xml (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libqtgui4 (>= 4:4.5.3) but 4:4.8.1-0ubuntu4.8 is to be installed
Depends: libstdc++6 (>= 4.1.1) but 4.6.3-1ubuntu5 is to be installed
答案1
您可以尝试以下操作之一:
sudo apt-get -f install
强制安装依赖项等。
或者尝试通过Ubuntu Wine 团队 PPA:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
答案2
尝试直接安装最新版本:
sudo apt-get install wine1.7
或(以前的版本):
sudo apt-get install wine1.6
答案3
您需要重新安装软件包 ttf-mscorefonts-installer,因为默认情况下不接受此软件包的许可证,您需要手动接受此软件包的许可证。“Microsoft 的核心字体包在 wine 中存在未满足的依赖关系。
“首先从你的系统中删除它们
sudo apt-get remove ttf-mscorefonts-installer
然后重新安装
sudo apt-get install ttf-mscorefonts-installer
然后在图形界面中使用 tab 键接受许可证,完成此操作后安装任何版本的 wine,您可以从软件中心安装 wine。如果您想安装 adobe flash player 插件,也需要此包。注意:wine1.6.2 是稳定版本,而 Wine 1.7.34 是目前最新的 wine 版本。您可以参考