无法使用 Synaptic 修复损坏的软件包(损坏的软件包:Wine1.4)

无法使用 Synaptic 修复损坏的软件包(损坏的软件包:Wine1.4)

好的,我正在尝试修复损坏的软件包以安装 wine。当我执行“sudo apt-get install wine”时,我得到:

sam@ubuntu:~$ sudo apt-get install wine 
[sudo] password for sam:  
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.4 but it is not going to be installed 
E: Unable to correct problems, you have held broken packages.

然后我尝试“sudo apt-get install wine1.4”

sam@ubuntu:~$ sudo apt-get install wine1.4
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:
 wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not installable
           Recommends: gnome-exe-thumbnailer but it is not going to be installed or
                       kde-runtime but it is not going to be installed
           Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

因此有人建议我尝试 Synaptic。以下是我尝试的方法:

  1. 搜索葡萄酒
  2. 右键点击 wine1.4
  3. 说我需要标记其他包裹
  4. 标记
  5. 我点击了“应用”。它说,你必须先修复损坏的软件包!
  6. 我执行“编辑”>“修复损坏的软件包”时出现此问题

    E: Unable to correct problems, you have held broken packages.
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    

我真的很沮丧。我删除了官方 Wine PPA 并尝试了它,我甚至尝试了

$ sudo apt-get -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

请帮我 :(

系统:Ubuntu 12.10 64位

答案1

这是 Wine 和 64 位系统的常见问题。这里提出的解决方案解决了这个问题:

相关内容