wine is uninstallable

Bug #994309 reported by Roland Hieber on 2012-05-03
156
This bug affects 34 people
Affects Status Importance Assigned to Milestone
wine1.4 (Ubuntu)
Undecided
Unassigned

Bug Description

When I try to install wine on amd64 (aptitude install wine), I get a report about broken packages, because wine1.4 depends on wine-1.4-i386, which is unavailable in the repository.

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

$ apt-cache policy wine
wine:
  Installed: (none)
  Candidate: 1.4-0ubuntu4
  Version table:
     1.4-0ubuntu4 0
        990 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

Revision history for this message
m4v (m4v) wrote :

please try installing wine with apt-get instead of aptitude.

Revision history for this message
Roland Hieber (rohieb) wrote : Re: [Bug 994309] Re: wine is uninstallable

On 04.05.2012 05:59, m4v wrote:
> please try installing wine with apt-get instead of aptitude.

Same, even after enabling multiarch i386 in
/etc/dpkg/dpkg.cfg.d/multiarch:

$ sudo apt-get install wine
[..]
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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wine1.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

I'm not 100% sure this is a duplicate of the older, fixed issue it was linked to.

How is wine1.4-i386 unavailable for you? Did you run apt-get update after enabling multiarch?

Revision history for this message
slegrand (legrand-simon) wrote :

Hi This bug is affecting me as well.

strykekyte@strykekyte-desktop:~$ sudo apt-get install wine
[sudo] password for strykekyte:
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.
 monodoc-http : Depends: mono-xsp4 but it is not going to be installed or
                         mono-apache-server4 but it is not going to be installed or
                         mono-fastcgi-server4 but it is not going to be installed
 wine : Depends: wine1.4 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Revision history for this message
bitinerant (bitinerant) wrote :

Is there a work-around?

Revision history for this message
Walerian Walawski (cobra) wrote :

I found a *work-around* for me, but I'm not sure if it will work for everyone, and (more importantly) it can possibly make some mess!
So at your own risk you can use:

apt-get download wine1.4-i386
sudo dpkg --force-all -i wine1.4-i386_1.4-0ubuntu4_i386.deb
apt-get download wine1.4-common
sudo dpkg --force-all -i wine1.4-common_1.4-0ubuntu4_all.deb
apt-get download wine1.4
sudo dpkg --force-all -i wine1.4_1.4-0ubuntu4_amd64.deb
apt-get download wine1.4-amd64
sudo dpkg --force-all -i wine1.4-amd64_1.4-0ubuntu4_amd64.deb
apt-get download wine-gecko1.4
sudo dpkg --force-all -i wine-gecko1.4_1.4.0-0ubuntu2_amd64.deb

I hope it will be helpful for someone...

Revision history for this message
Scott Ritchie (scottritchie) wrote :

A user contacted me on IRC with this issue, after some investigation it seems multiarch was never enabled on his system, possibly from installing or upgrading with an old/bad beta 12.04 image. Some further investigation revealed that he somehow had a "newer" version of dpkg than Precise ships, probably from a bad PPA or other such thing.

Please make sure this is not the case for you.

Revision history for this message
slegrand (legrand-simon) wrote :

Thanks for the reply on this. It's a little strange that this would happen with the upgrade. I mean I've really not done much to my system and it many ways it could have been considered vanilla. That the 12.04 dist-upgrade messed up my dpkg installl is really weird isn't it? I cannot test this right now but I will test it tonight and will report back on whether it helped or not.
Thanks again.

Revision history for this message
slegrand (legrand-simon) wrote :

dpkg --version
Debian `dpkg' package management program version 1.16.1.2 (amd64).

Hi! My dpkg version is 1.16.1.2(amd64). Is this what I should be using?

Revision history for this message
dresnu (dresnu) wrote :

Same "1.16.1.2 (amd64)" version for me here and multiarch seems to be enabled. I have installed some i386 packages for skype without a problem. Wine is still complaining though...

Revision history for this message
jokker (david-las-solanas) wrote :
Download full text (23.9 KiB)

jokker@voyager:~$ sudo aptitude install wine1.5
The following NEW packages will be installed:
  fonts-droid{a} fonts-horai-umefont gettext{ab} gettext:i386{ab} gettext-base:i386{ab} gnome-exe-thumbnailer{a} icoutils{a} imagemagick{a} imagemagick-common{a} libcapi20-3{a} libcdt4{a}
  libgettextpo0{a} libgif4:i386{a} libgraph4{a} libgvc5{a} libilmbase6{a} libmagickcore4{a} libmagickcore4-extra{a} libmagickwand4{a} libmpg123-0{a} libnetpbm10{a} libopenexr6{a} libpam-winbind{a}
  libpathplan4{a} libunistring0{a} netpbm{a} ttf-droid{a} ttf-umefont{a} winbind{a} wine-gecko1.6{a} wine-gecko1.6:i386{a} wine1.5 wine1.5-amd64{a} wine1.5-i386:i386{a} winetricks{a}
0 packages upgraded, 35 newly installed, 0 to remove and 0 not upgraded.
Need to get 139 MB of archives. After unpacking 394 MB will be used.
The following packages have unmet dependencies:
 gettext-base : Conflicts: gettext-base:i386 but 0.18.1.1-5ubuntu3 is to be installed.
 gettext-base:i386 : Conflicts: gettext-base but 0.18.1.1-5ubuntu3 is installed.
 gettext : Conflicts: gettext:i386 but 0.18.1.1-5ubuntu3 is to be installed.
 gettext:i386 : Conflicts: gettext but 0.18.1.1-5ubuntu3 is to be installed.
Internal error: the solver Install(espeak:i386 1.46.02-0ubuntu1 <espeak-data:amd64 1.46.02-0ubuntu1 -S> {espeak:amd64 1.46.02-0ubuntu1 espeak:i386 1.46.02-0ubuntu1}>) of a supposedly unresolved dependency is already installed in step 121
Internal error: the solver Install(wine1.5:i386 1.5.9-0ubuntu2~pulse19+build1 <wine1.5-amd64:amd64 1.5.9-0ubuntu2~pulse19+build1 -> {wine1.5:amd64 1.5.9-0ubuntu2~pulse19+build1 wine1.5:i386 1.5.9-0ubuntu2~pulse19+build1}>) of a supposedly unresolved dependency is already installed in step 401
Internal error: the solver Install(wine1.4-i386:i386 1.4.1-0ubuntu1~precise1~ppa3 <wine1.4:amd64 1.4.1-0ubuntu1~precise1~ppa3 -> {wine1.4-i386:i386 1.4.1-0ubuntu1~precise1~ppa3}>) of a supposedly unresolved dependency is already installed in step 422
Internal error: the solver Install(espeak:i386 1.46.02-0ubuntu1 <espeak-data:amd64 1.46.02-0ubuntu1 -S> {espeak:amd64 1.46.02-0ubuntu1 espeak:i386 1.46.02-0ubuntu1}>) of a supposedly unresolved dependency is already installed in step 457
Internal error: the solver Install(wine1.4-i386:i386 1.4-0ubuntu4.1 <wine1.4:amd64 1.4-0ubuntu4.1 -> {wine1.4-i386:i386 1.4-0ubuntu4.1}>) of a supposedly unresolved dependency is already installed in step 469
Internal error: the solver Install(wine1.4-i386:i386 1.4-0ubuntu4 <wine1.4:amd64 1.4-0ubuntu4 -> {wine1.4-i386:i386 1.4-0ubuntu4}>) of a supposedly unresolved dependency is already installed in step 471
The following actions will resolve these dependencies:

       Remove the following packages:
1) bluez-alsa:i386
2) glib-networking:i386
3) gstreamer0.10-plugins-base:i386
4) gstreamer0.10-plugins-good:i386
5) gstreamer0.10-x:i386
6) gtk2-engines:i386 ...

Revision history for this message
jokker (david-las-solanas) wrote :
Revision history for this message
Ernst Sjöstrand (ernstp) wrote :

sudo apt-get install wine --no-install-recommends works fine for me.

Revision history for this message
Michael (amemain) wrote :

XXXXXX@ubuntu:~$ sudo apt-get install wine --no-install-recommends
[sudo] password for XXXXXX:
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 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.
XXXXXX@ubuntu:~$

Revision history for this message
Michael (amemain) wrote :

Just tried to install again via the Wine PPA and still the same issue. This time it reported could not install Wine1.5 instead of 1.4

(deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main)

Revision history for this message
slegrand (legrand-simon) wrote :

Same result for me. The problem persists.

Revision history for this message
Peter Lipp (peter-lipp) wrote :

Got the same problem today. Wine used to run two days ago, now it disappeared for whatever reason and I cannot reinstall it getting the exact same error message....

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :

Same here. It used to work (after a clean install of Ubuntu), then today, I got an update notification asking me to install 100+ KDE packages - which I found strange, since I don't have KDE. I decided to uninstall wine completely (using --purge), and install it again, and got this bug again.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Could you please attach (or use paste.ubuntu.com) to show what happens when you do:

apt-get install wine

apt-get install wine1.4

apt-get install wine1.5

and specify if you were using PPA or Precise stock?

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :
Download full text (5.6 KiB)

I'm using the ubuntu-wine PPA. Here's the output:

$ 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.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install wine1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic wine-gecko1.7:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libasound2-plugins:i386 libjack-jackd2-0:i386 libsamplerate0:i386 libspeexdsp1:i386 wine-gecko1.4 wine-gecko1.4:i386 wine1.4-amd64 wine1.4-common wine1.4-i386:i386
Suggested packages:
  jackd2:i386 dosbox
Recommended packages:
  gettext:i386
The following NEW packages will be installed:
  libasound2-plugins:i386 libjack-jackd2-0:i386 libsamplerate0:i386 libspeexdsp1:i386 wine-gecko1.4 wine-gecko1.4:i386 wine1.4 wine1.4-amd64 wine1.4-common wine1.4-i386:i386
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 74.0 MB of archives.
After this operation, 249 MB of additional disk space will be used.
Do you want to continue [Y/n]?

$ sudo apt-get install wine1.5
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.5 : Depends: wine1.5-i386 (= 1.5.11-0ubuntu1)
E: Unable to correct problems, you have held broken packages.

So looks like wine1.4 actually works. Also, here's more output from my attempts to install wine1.5, in case it's useful:

$ sudo apt-get install wine1.5-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.5-i386:i386 : Depends: wine1.5:any:i386 (= 1.5.10-0ubuntu1~pulse19+build4)
                     Recommends: gettext:i386 but it is not going to be installed
                     Recommends: libsane:i386 but it is not going to be installed
                     Recommends: libssl1.0.0:i386 but it is not going to be installed
E: Unable to...

Read more...

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :

(Sorry, it's kind of unreadable... I tried to add extra line breaks, but launchpad removed them.)

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Ahh I figured it out. Maarten pushed an update for 1.5.11 without using a staging PPA. Launchpad built the amd64 package sometime last night, but the i386 build was still pending due to lack of builders. Unfortunately, Launchpad has no option to withhold publishing of the newer package until all arches build, so amd64 went live before i386 was ready. Since Wine on 64-bit requires both i386 and amd64 packages (and they must be the exact same version), it was uninstallable.

I got a friend to bump the build priority of the i386 package so it'll publish within the next hour or so. In the future I'll try to get Maarten to use a staging PPA ;)

Revision history for this message
Filipp (samoylovfp) wrote :

Thanks, Ritchie! After apt-get update I was able to start installation

Revision history for this message
Michael (amemain) wrote :

This isn't fixed for me. Is anyone else still having issues?

Revision history for this message
Laura (stringarray) wrote :

I still can't install wine, even after apt-get update and apt-get upgrade.

Revision history for this message
pandean (pandean618) wrote :

I can't either.

Description: Ubuntu 12.04.1 LTS
Release: 12.04

Revision history for this message
bitinerant (bitinerant) wrote :

Just for the record, a while back I did:

    sudo aptitude install wine --without-recommends

It installed fine and has been working ever since. I don't remember if Mono was installed at the time, but there may be an unintended interaction between Wine and Mono. Ubuntu 12.04 64-bit.

Revision history for this message
slegrand (legrand-simon) wrote :
Download full text (26.6 KiB)

Yeah, that's not probably something to recommend to people. It seems to just remove a LOT of packages that are needed. Lucky I did this on a test VM.

strykekyte@kubuntu1:~$ sudo aptitude install wine --without-recommends
[sudo] password for strykekyte:
The following NEW packages will be installed:
  dconf-gsettings-backend:i386{a} dosbox{a} exiv2:i386{ab} freeglut3:i386{a}
  glib-networking:i386{a} gnome-keyring:i386{ab} gphoto2:i386{a}
  gstreamer0.10-plugins-base:i386{a} gstreamer0.10-tools:i386{ab} gthumb:i386{ab}
  gtkam:i386{a} gvfs:i386{a} gvfs-libs:i386{a} jack-tools:i386{ab} jackd2:i386{ab}
  krb5-user:i386{ab} libaa1:i386{a} libasn1-8-heimdal:i386{a} libasound2:i386{a}
  libasound2-plugins:i386{a} libasound2-python:i386{a} libasyncns0:i386{a}
  libatk1.0-0:i386{a} libavahi-client3:i386{a} libavahi-common3:i386{a}
  libcairo-gobject2:i386{a} libcairo2:i386{a} libcap-dev:i386{a} libcap-ng0:i386{ab}
  libcap2:i386{a} libcap2-bin:i386{ab} libcdk5:i386{a} libcdparanoia0:i386{a}
  libcomerr2:i386{a} libcroco3:i386{a} libcups2:i386{a} libdatrie1:i386{a} libdb5.1:i386{a}
  libdbus-1-3:i386{a} libdbus-glib-1-2:i386{a} libdconf0:i386{a} libexif-gtk5:i386{a}
  libexif12:i386{a} libexiv2-11:i386{ab} libflac8:i386{a} libfreetype6-dev:i386{ab}
  libgck-1-0:i386{ab} libgconf-2-4:i386{a} libgcr-3-1:i386{ab} libgcrypt11:i386{a}
  libgd-tools:i386{ab} libgd2-noxpm:i386{ab} libgd2-noxpm-dev:i386{a} libgd2-xpm:i386{ab}
  libgdk-pixbuf2.0-0:i386{a} libglib2.0-0:i386{a} libgnome-keyring0:i386{a}
  libgnutls26:i386{a} libgpg-error0:i386{a} libgphoto2-2:i386{a} libgphoto2-port0:i386{a}
  libgssapi-krb5-2:i386{a} libgssapi3-heimdal:i386{a} libgssrpc4:i386{a}
  libgstreamer-plugins-base0.10-0:i386{a} libgstreamer0.10-0:i386{a} libgtk-3-0:i386{a}
  libgtk2.0-0:i386{a} libhcrypto4-heimdal:i386{a} libheimbase1-heimdal:i386{a}
  libheimntlm0-heimdal:i386{a} libhx509-5-heimdal:i386{a} libice6:i386{a}
  libjack-jackd2-0:i386{ab} libjasper-runtime:i386{a} libjasper1:i386{a}
  libjpeg-turbo8:i386{a} libjpeg-turbo8-dev:i386{a} libjpeg8:i386{a} libjson0:i386{a}
  libk5crypto3:i386{a} libkadm5clnt-mit8:i386{a} libkadm5srv-mit8:i386{a} libkdb5-6:i386{a}
  libkeyutils1:i386{a} libkrb5-26-heimdal:i386{a} libkrb5-3:i386{a} libkrb5support0:i386{a}
  liblcms-utils:i386{a} liblcms1:i386{a} libldap-2.4-2:i386{a} liblo-dev:i386{a}
  liblo7:i386{a} libltdl7:i386{a} libmpg123-0{a} libmpg123-0:i386{a} libogg0:i386{a}
  libopenal1:i386{a} liborc-0.4-0:i386{a} libp11-kit0:i386{a} libpango1.0-0:i386{a}
  libpcre3:i386{a} libpixman-1-0:i386{a} libpng12-0:i386{a} libpng12-dev:i386{ab}
  libpopt0:i386{a} libproxy1:i386{a} libpulse0:i386{a} libpython2.7:i386{ab}
  libreadline6:i386{a} libroken18-heimdal:i386{a} librsvg2-2:i386{a} librsvg2-common:i386{a}
  libsamplerate0:i386{a} libsasl2-2:i386{a} libsdl-sound1.2{a} libselinux1:i386{a}
  libslang2:i386{a} libsm6:i386{a} libsndfile1:i386{a} libsoup-gnome2.4-1:i386{a}
  libsoup2.4-1:i386{a} libspeexdsp1:i386{a} libsqlite3-0:i386{a} libss2:i386{a}
  libssl1.0.0:i386{a} libtasn1-3:i386{a} libthai0:i386{a} libtheora0:i386{a}
  libtiff4:i386{a} libtspi1:i386{ab} libudev0:i386{a} libusb-0.1-4:i386{a} libuuid1:...

Revision history for this message
bitinerant (bitinerant) wrote :

My install was not like that at all. Aptitude did not remove any packages, and I don't believe it listed any unmet dependencies. I wish I had a terminal dump of it.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Using --without-recommends is not recommended ;)

I've seen instances of apt-get install wine1.5 working but apt-get install wine not working (probably similar for wine1.4), I'll investigate.

Revision history for this message
pandean (pandean618) wrote :

After reinstalling the OS system instead of upgrading from 10.04 to 12.04, this problem is gone...
Thanks.

Revision history for this message
slegrand (legrand-simon) wrote :

Unfortunately reinstalling from scratch is not an option for me.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Again, please try using apt-get and not aptitude.

Revision history for this message
Michael (amemain) wrote :

xxxxxx@ubuntu:~$ sudo apt-get install wine1.4
[sudo] password for xxxxxxx:
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 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.
xxxxxxx@ubuntu:~$

Revision history for this message
slegrand (legrand-simon) wrote :

user@kubuntu1:~$ sudo apt-get install wine
sudo: unable to resolve host kubuntu1
[sudo] password for user:
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.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

What happens if you do apt-get install wine1.4 ?

Revision history for this message
slegrand (legrand-simon) wrote :

user@kubuntu1:~$ sudo apt-get install wine1.4
sudo: unable to resolve host kubuntu1
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-amd64 (= 1.4.1-0ubuntu1~precise1~ppa3)
           Depends: wine1.4-i386 (= 1.4.1-0ubuntu1~precise1~ppa3)
           Recommends: cups-bsd but it is not going to be installed
           Recommends: gnome-exe-thumbnailer but it is not going to be installed or
                       kde-runtime but it is not going to be installed
           Recommends: ttf-mscorefonts-installer but it is not going to be installed
           Recommends: winbind
E: Unable to correct problems, you have held broken packages.

Revision history for this message
slegrand (legrand-simon) wrote :

And for the record. I get the same thing a brand new install of Kubuntu precise.

Revision history for this message
Stéphane Gourichon (stephane-gourichon-lpad) wrote :

I had the problem reported in comment #12.

As suggested in comment #14 I did :

sudo apt-get install wine --no-install-recommends

That avoided the problem about gettext and installation worked.

Then at run time wine complained that wine-gecko was absent.

Asking aptitude to install all packages recommended by wine-gecko did not show that dependency problem.

Wine could run and find wine-gecko too.

This is on Ubuntu precise AMD64, fully up to date and installed from scratch (not from upgrade).

This will probably hit other users.

Revision history for this message
Andre Haas (andre-ca3t8a) wrote :

I have the same problem on Ubuntu 64bit fresh install.

Trying to install in apt-get:
andre@andre-G55VW-ubuntu:~$ sudo apt-get install wine --no-install-recommends
[sudo] password for andre:
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.
andre@andre-G55VW-ubuntu:~$ andre@andre-G55VW-ubuntu:~$ dpkg --version
bash: andre@andre-G55VW-ubuntu:~$: command not found
andre@andre-G55VW-ubuntu:~$ Debian `dpkg' package management program version 1.16.1.2 (amd64).

Trying to install in Software center:

The following packages have unmet dependencies:

wine1.4: PreDepends: dpkg (>= 1.15.7.2~) but 1.16.1.2ubuntu7 is to be installed
         Depends: libc6 (>= 2.14) but 2.15-0ubuntu10.2 is to be installed
         Depends: wine1.4-amd64 (= 1.4-0ubuntu4.1) but 1.4-0ubuntu4.1 is to be installed
         Depends: wine1.4-i386 (= 1.4-0ubuntu4.1) but it is a virtual package

Trying to install in Synaptic:

wine:
 Depends: wine1.4 but it is not going to be installed

wine1.4:
 Depends: wine1.4-amd64 but it is not going to be installed
 Depends: wine1.4-i386 (= 1.4-0ubuntu4.1)

Revision history for this message
Alex Mandel (wildintellect) wrote :

I started looking into this more, did an upgrade, then did a fresh install. Started wondering if I had a PPA with too new of packages that was making the amd64 packages version not be the same as the i386. I think that is the case, but it might not be a PPA since some of the offending newer packages were coming from security.

Found this tip, to pin and downgrade everything to stock, after doing that I could install wine (at least apt-get didn't have a fit)
http://ubuntuforums.org/showpost.php?p=12246372&postcount=7

Revision history for this message
Graham (grahamrmoss) wrote :

+1 on Alex's post - in my case it was also version mismatch between i386 and amd64 packages. Forced downgrade, and it worked...

Revision history for this message
slegrand (legrand-simon) wrote :

Alex's post still does not help me. My gosh this has to be the longest running problem I've ever faced on this platform!
Here's what I get when running Alex's recommendation:

user@kubuntu1:~$ sudo apt-get 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.
user@kubuntu1:~$

user@kubuntu1:~$ sudo apt-get install ia32-libs-multiarch
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.
 ia32-libs-multiarch:i386 : Depends: bluez-alsa:i386 but it is not going to be installed
                            Depends: gvfs:i386 but it is not going to be installed
                            Depends: libcanberra-gtk-module:i386 but it is not going to be installed
                            Depends: libgconf-2-4:i386 but it is not going to be installed
                            Depends: libgphoto2-2:i386 but it is not going to be installed
                            Depends: libsane:i386 but it is not going to be installed
                            Suggests: libpam-ldap:i386
                            Suggests: libpam-winbind:i386 but it is not going to be installed
                            Suggests: libnss-ldap:i386
E: Unable to correct problems, you have held broken packages.
user@kubuntu1:~$

GAAARRRRGGGGHHHHHHH <--- That's just me screaming not shell output.

Revision history for this message
slegrand (legrand-simon) wrote :

OMG! I found the culprit! After absolutely annihilating my machine by trying to install cross-over office the other day went it was given away for free, now, after a new install I discovered that what was messing with my system's packages all along was 'freakin' VIRTUALBOX!
Remove it and its related packages and everything works again!!!

Obviously somebody needs to tell the VB guys that they need to fix something in their package. Looks like I'll be using VMware for the foreseeable future then.

Revision history for this message
Reece (reece) wrote :

Removing virtualbox (#45) does not appear to affect wine installation. I removed virtualbox, tried installing wine, and got exactly the same error as reported by others.

Ubuntu 12.10, upgraded from 12.04.1, amd64.

Revision history for this message
slegrand (legrand-simon) wrote :

To reproduce what I went trhough.

Install clean Kubuntu 12.04.1

Try installing wine. Yes everything looks fine. Cancel it.

Install VirtualBox

Try installing wine, now you can't install it.

Remove all VirtualBox* packages

Wine is installable once more.

Previously I had tried clean installs of Kubuntu 12.04 but I couldn't install wine at all. 12.04.1 may have fixed something.

It is a very confusing issue. I'm sorry to hear it didn't fix it for you. :(

Revision history for this message
abma (abma) wrote :

dpkg --add-architecture i386
apt-get update
apt-get install wine

fixed it for me...

Revision history for this message
Alex Mandel (wildintellect) wrote :

A follow up to my comment #42 above, my issue appeared to be from precise-updates being on by default in my install. That has to be off before doing the pinning or needs to be given a negative pin value to make your stuff revert to stock versions. Once wine is installed it seems ok to turn them back on.

Revision history for this message
Paul kassianik (pkassianik) wrote :

Comment #48 helped me.....
except after

apt-get update

I ran

apt-get -f install

Worked.

Revision history for this message
Reece (reece) wrote :

#48 + #50 didn't work for me:

# dpkg --add-architecture i386
# apt-get update
# apt-get -f install
# apt-get install wine
...
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.

According to synaptic, I don't have any broken packages.

Revision history for this message
Gerhard Burger (burger.ga) wrote :

dpkg --add-architecture i386

only works on 12.10, for 12.04 you need to do

echo "foreign-architecture i386" > /etc/dpkg.cfg.d/architectures

Revision history for this message
Egor (gluk47) wrote :

I failed to find a workaround for this bug and installed 32bit-chroot as follows. May be it'll help somene experiencing this bug.

sudo -s
mkdir /home/32bit
debootstrap --arch i386 precise /home/32bit/ http://archive.ubuntu.com/ubuntu
mkdir /32bit
cat <<< '
/home/32bit /32bit none auto,bind 0 0
/dev /32bit/dev none bind 0 0
/sys /32bit/sys none bind 0 0
/proc /32bit/proc none bind 0 0
/home /32bit/home none bind 0 0
/mnt /32bit/mnt none bind 0 0
/media /32bit/media none bind 0 0
' >> /etc/fstab
mount -a
linux32 chroot /32bit
apt-get install python-software-properties # you may add ppa manually, I'm just too lazy
add-apt-repository ppa:ubuntu-wine/ppa
add-apt-repository ppa:upubuntu-com/chat # skype ppa
apt-get install -y wine skype
exit # leave chroot
echo '32bit /32bit linux32' >> /etc/dchroot.conf
cat <<< '#!/bin/bash
if [[ "${1:0:1}" == / ]]; then
  cmd="$1" # absolute path detected
else
  cmd="\"$PWD\"/$1"
fi
shift
dchroot "LANG=$LANG DISPLAY=$DISPLAY $0 $cmd $@"
' > /usr/bin/wine && chmod a+x /usr/bin/wine
ln /usr/bin/wine /usr/bin/winecfg
ln /usr/bin/wine /usr/bin/wineboot
exit # leave root shell
# from non-root user:
dchroot "DISPLAY=$DISPLAY LANG=$LANG skype"
dchroot "cd ~/.wine/drive_c/h3; LANG=$LANG DISPLAY=$DISPLAY wine ./Heroes3.exe" # or anything else

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

It seems it just broke again yesterday on Ubuntu Raring.

# apt-get install 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: libgl1-mesa-glx:i386 but it is not going to be installed or
                              libgl1:i386
                     Depends: libglu1-mesa:i386 but it is not going to be installed or
                              libglu1:i386
                     Depends: libgphoto2-2:i386 (>= 2.4.10.1) but it is not going to be installed
                     Depends: libx11-6:i386 but it is not going to be installed
                     Depends: libxext6:i386 but it is not going to be installed
                     Recommends: libsane:i386 but it is not going to be installed
                     Recommends: libxcomposite1:i386 but it is not going to be installed
                     Recommends: libxcursor1:i386 but it is not going to be installed
                     Recommends: libxi6:i386 but it is not going to be installed
                     Recommends: libxinerama1:i386 but it is not going to be installed
                     Recommends: libxrandr2:i386 but it is not going to be installed
                     Recommends: libxrender1:i386 but it is not going to be installed
                     Recommends: libxt6:i386 but it is not going to be installed
                     Recommends: libxxf86vm1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Do you have raring-proposed repository enabled by chance? It's not intended to be on for users in the development release anymore.

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

Yes, I generated my sources.list from an online sources.list generator (http://repogen.simplylinux.ch/), and checked proposed updates too in advance.

After removing this source, wine1.4 installed without any hassle. Thanks Scott.

Revision history for this message
Stefan Sauer (ensonic) wrote :

> lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04

> cat /etc/dpkg/dpkg.cfg.d/multiarch
foreign-architecture i386

> sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

> 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.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have no ppa's added. I would really be awesome if the package owner could fix this bug, that was reported *1 year* ago. Seriously.

Revision history for this message
Stefan Sauer (ensonic) wrote :

I did not follow https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/994309/comments/7

This did not yield in a working wine. But this helped:
# installs all the needed i386 packages and removes wine again
sudo apt-get -f install
# install the downloaded winepackages a second time
sudo dpkg --force-all -i wine1.4-i386_1.4-0ubuntu4.1_i386.deb wine1.4-common_1.4-0ubuntu4.1_all.deb wine1.4_1.4-0ubuntu4.1_amd64.deb wine1.4-amd64_1.4-0ubuntu4.1_amd64.deb wine-gecko1.4_1.4.0-0ubuntu2_amd64.deb

Revision history for this message
Premek Brada (brada) wrote :

Tried the above (#7 and #60) which did make wine 1.4 work but the resulting broken dependencies (as reported by apt-get) make the ubuntu updater dysfunctional. So for me this unfortunately is not a usable workaround.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions