$ sudo apt-get install wine
[sudo] password for hergul:
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 wine 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-0ubuntu4.1)
E: Unable to correct problems, you have held broken packages.
和:
$ sudo apt-get install wine wine1.4 wine1.4-i386
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-i386:i386 : Depends: libglib2.0-0:i386 (>= 2.16.0) but it is not going to be installed
Depends: libgphoto2-2:i386 (>= 2.4.10.1) but it is not going to be installed
Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.22) but it is not going to be installed
Depends: libgstreamer0.10-0:i386 (>= 0.10.26) but it is not going to be installed
Recommends: gettext:i386 but it is not going to be installed
Recommends: libfontconfig1:i386 but it is not going to be installed or
libfontconfig:i386
Recommends: libsane:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
和
$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
和
$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
我尝试使用 synaptic 和 aptitude install 进行安装,但是失败。
Ubuntu 12.04 x64
答案1
这似乎是由于对 32 位软件包的某些依赖,请尝试运行sudo apt-get install ia32-libs
,然后再次尝试安装。