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
E: Unable to correct problems, you have held broken packages.
And:
sudo apt-get install playonlinux
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:
playonlinux : Depends: wine or
wine-unstable but it is not installable
E: Unable to correct problems, you have held broken packages.
While all PPAs are disabled and Ubuntu repos are enabled:
Otherwise there isn't any problem with the packages:
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 0 not upgraded.
After following instructions from askubuntu,
sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So, no fail here.
But the initial error persists in terminal.
What happens in Synaptic is different!
When trying to install playonlinux
the packages to be removed included all my system so to speak. That would have completely broken the system. It is too long a list to post here.
When trying to install wine
, it seems possible
but this is contradicted by the terminal output posted above for sudo apt-get install wine
, and all this looks fishy to me.
UPDATE
Trying to install wine
in Synaptic, it does not work in fact: once selected to be installed, the wine
package is marked as broken and some unmentioned packages are signaled as broken.
How to identify the broken packages? Is it possible they being signaled as broken to be an error?
UPDATE after comment from Tim:
~$ sudo apt-get install wine1.6
[sudo] password for cipeos:
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.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
Recommends: winbind but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
UPDATE after RolandiXor' s answer:
According to the answer, a certain dependency, shown in italics, has to be installed manually:
For Wine1.6
is Wine1.6-i386
, for playonlinux
is python:any
.
UPDATE after trying to follow this solution on ubuntuforums - Installing wine is not possible
The idea is to make /etc/apt/sources.list
support multiarch by adding [arch=amd64,i386] to the deb-line and also use aptitude
. And then, try sudo aptitude --full-resolver -f install wine1.7
.
~$ sudo aptitude --full-resolver -f install wine1.7
[sudo] password for cipeos:
The following NEW packages will be installed:
fonts-horai-umefont{a} fonts-wqy-microhei{a} libasn1-8-heimdal:i386{ab} libcapi20-3{a} libcapi20-3:i386{a} libdb5.3:i386{a} libexif12:i386{a} libgd3:i386{a} libgif4:i386{a} libglapi-mesa{a}
libglapi-mesa:i386{a} libglu1-mesa:i386{a} libgphoto2-6:i386{ab} libgphoto2-port10:i386{ab} libgpm2:i386{a} libgssapi3-heimdal:i386{ab} libgstreamer-plugins-base0.10-0:i386{a}
libgstreamer0.10-0:i386{a} libhcrypto4-heimdal:i386{ab} libheimbase1-heimdal:i386{ab} libheimntlm0-heimdal:i386{ab} libhx509-5-heimdal:i386{ab} libieee1284-3:i386{a}
libkrb5-26-heimdal:i386{ab} liblcms2-2:i386{ab} libldap-2.4-2:i386{a} libltdl7:i386{a} libmpg123-0:i386{a} libncurses5:i386{a} libodbc1{a} libopenal1:i386{a} libosmesa6{a} libosmesa6:i386{a}
libpcap0.8:i386{a} libroken18-heimdal:i386{ab} libsane:i386{ab} libsane-common:i386{ab} libsasl2-2:i386{a} libsasl2-modules:i386{a} libsasl2-modules-db:i386{a} libusb-1.0-0:i386{a}
libv4l-0:i386{a} libv4lconvert0:i386{a} libvpx1:i386{a} libwind0-heimdal:i386{ab} libxpm4:i386{a} ocl-icd-libopencl1{a} ocl-icd-libopencl1:i386{a} p11-kit-modules:i386{a} p7zip{a}
ttf-wqy-microhei{a} unixodbc{a} wine-gecko2.34{a} wine-gecko2.34:i386{a} wine-mono4.5.4{a} wine1.7 wine1.7-amd64{a} wine1.7-i386:i386{a} winetricks{a}
0 packages upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
Need to get 168 MB of archives. After unpacking 543 MB will be used.
The following packages have unmet dependencies:
liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.6-3ubuntu1~trusty1) but 2.6-3ubuntu1~trusty is to be installed.
liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.6-3ubuntu1~trusty) but 2.6-3ubuntu1~trusty1 is installed.
libsane-common : Conflicts: libsane-common:i386 but 1.0.23-3ubuntu3 is to be installed.
libsane-common:i386 : Conflicts: libsane-common but 1.0.23-3ubuntu3.1 is installed.
libkrb5-26-heimdal : Breaks: libkrb5-26-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libkrb5-26-heimdal:i386 : Breaks: libkrb5-26-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libroken18-heimdal : Breaks: libroken18-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libroken18-heimdal:i386 : Breaks: libroken18-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libwind0-heimdal : Breaks: libwind0-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libwind0-heimdal:i386 : Breaks: libwind0-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libhcrypto4-heimdal : Breaks: libhcrypto4-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libhcrypto4-heimdal:i386 : Breaks: libhcrypto4-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libheimntlm0-heimdal : Breaks: libheimntlm0-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libheimntlm0-heimdal:i386 : Breaks: libheimntlm0-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
xserver-xorg-lts-utopic : Conflicts: libglapi-mesa (>= 0~) but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 (>= 0~) but 10.1.0-4ubuntu5 is to be installed.
libgphoto2-port10 : Breaks: libgphoto2-port10:i386 (!= 2.5.3.1-1ubuntu2.2) but 2.5.3.1-1ubuntu2 is to be installed.
libgphoto2-port10:i386 : Breaks: libgphoto2-port10 (!= 2.5.3.1-1ubuntu2) but 2.5.3.1-1ubuntu2.2 is installed.
libasn1-8-heimdal : Breaks: libasn1-8-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libasn1-8-heimdal:i386 : Breaks: libasn1-8-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libsane : Breaks: libsane:i386 (!= 1.0.23-3ubuntu3.1) but 1.0.23-3ubuntu3 is to be installed.
libsane:i386 : Breaks: libsane (!= 1.0.23-3ubuntu3) but 1.0.23-3ubuntu3.1 is installed.
libheimbase1-heimdal : Breaks: libheimbase1-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libheimbase1-heimdal:i386 : Breaks: libheimbase1-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libgphoto2-6 : Breaks: libgphoto2-6:i386 (!= 2.5.3.1-1ubuntu2.2) but 2.5.3.1-1ubuntu2 is to be installed.
libgphoto2-6:i386 : Breaks: libgphoto2-6 (!= 2.5.3.1-1ubuntu2) but 2.5.3.1-1ubuntu2.2 is installed.
libglapi-mesa-lts-utopic : Conflicts: libglapi-mesa but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 but 10.1.0-4ubuntu5 is to be installed.
libglapi-mesa-lts-utopic:i386 : Conflicts: libglapi-mesa but 10.1.0-4ubuntu5 is to be installed.
Conflicts: libglapi-mesa:i386 but 10.1.0-4ubuntu5 is to be installed.
libgssapi3-heimdal : Breaks: libgssapi3-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libgssapi3-heimdal:i386 : Breaks: libgssapi3-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
libhx509-5-heimdal : Breaks: libhx509-5-heimdal:i386 (!= 1.6~git20131207+dfsg-1ubuntu1.1) but 1.6~git20131207+dfsg-1ubuntu1 is to be installed.
libhx509-5-heimdal:i386 : Breaks: libhx509-5-heimdal (!= 1.6~git20131207+dfsg-1ubuntu1) but 1.6~git20131207+dfsg-1ubuntu1.1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libasn1-8-heimdal:i386 [Not Installed]
2) libglapi-mesa [Not Installed]
3) libglapi-mesa:i386 [Not Installed]
4) libgphoto2-6:i386 [Not Installed]
5) libgphoto2-port10:i386 [Not Installed]
6) libgssapi3-heimdal:i386 [Not Installed]
7) libhcrypto4-heimdal:i386 [Not Installed]
8) libheimbase1-heimdal:i386 [Not Installed]
9) libheimntlm0-heimdal:i386 [Not Installed]
10) libhx509-5-heimdal:i386 [Not Installed]
11) libkrb5-26-heimdal:i386 [Not Installed]
12) liblcms2-2:i386 [Not Installed]
13) libldap-2.4-2:i386 [Not Installed]
14) libosmesa6 [Not Installed]
15) libosmesa6:i386 [Not Installed]
16) libroken18-heimdal:i386 [Not Installed]
17) libsane:i386 [Not Installed]
18) libsane-common:i386 [Not Installed]
19) libwind0-heimdal:i386 [Not Installed]
20) wine1.7 [Not Installed]
21) wine1.7-amd64 [Not Installed]
22) wine1.7-i386:i386 [Not Installed]
Leave the following dependencies unresolved:
23) winetricks recommends wine
24) wine1.7-amd64 recommends libosmesa6
25) wine-gecko2.34 recommends wine1.5-amd64
26) wine1.7-i386:i386 recommends libosmesa6:i386
27) wine1.7-i386:i386 recommends libsane:i386
28) wine-gecko2.34:i386 recommends wine1.5-i386:i386
Accept this solution? [Y/n/q/?]
Seems that aptitude
gives a lot more info. But trying a few options there it comes down to installing 0.
sudo apt-get install wine1.6
?