12

I have upgraded from Ubuntu 16.04. Wine was installed in my system but after upgrade it was returning the following error.

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"

So I purge wine and reinstall using following steps

1. sudo apt install wine-stable
2. WINEARCH=win32 WINEPREFIX=~/.wine32
3. wine #return error
4. wineboot

But still, when I try to run anything using wine it's shows wine32 is missing. So I tried to install win32.

sudo apt install wine32

error

The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 1.8.5-1ubuntu1) but it is not going to be installed

System info

Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10
Codename:   yakkety
  • Have you tried installing libwine:i386? If so what error does it give? – Ryan Doherty Dec 11 '16 at 19:58
  • 2
    Yes, I tried to go multiple level. There are lots of dependencies error. – shantanu Dec 12 '16 at 6:32
11

Would you give this a try on a fresh WINEPREFIX?

$ sudo dpkg --add-architecture i386

$ sudo apt update && apt install wine32

If still broken try:

$ sudo apt -f install

Or more powerfully:

$ sudo aptitude -f install wine32

Just remember to READ carefully what aptitude is asking, for it could remove some packages along the way. It can give you several suggestions. You may keep trying and check which one can work for you, or what the source of the problem is.

Otherwise you may try PlayOnLinux as it separates each virtual machine, so you may have a better chance of a cleaner install.

As a last recourse, a badly messed up system may be a good sign for a fresh Ubuntu install. ;-)

| improve this answer | |
  • 1
    Same issue. After that, I still get "wine32:i386 : Depends: libwine:i386 (= 1.8.5-1ubuntu1) but it is not going to be installed" – Jose Gómez Jan 25 '17 at 12:51
  • 1
    After that could you follow up the command with: $ sudo apt -f install ...? – Majal Jan 25 '17 at 12:54
  • 1
    A stronger way to follow it up will be $ sudo aptitude -f install wine32. Just remember to READ what aptitude is asking for it could remove some packages along the way... – Majal Jan 25 '17 at 12:58
  • aptitude is suggesting to leave a series of dependencies (heimdal) as not installed, which is of course not solving anything. Alternatively, it is suggesting uninstalling 129 packages, including libreoffice, gnome-shell... – Jose Gómez Jan 25 '17 at 13:12
  • 1
    aptitude can give you several suggestions. You may keep trying and check which one can work for you. I'm running 16.10 also and have no problem with wine32. Oh BTW, have you tried PlayOnLinux instead? It separates each virtual machine, so you may have a better chance of a cleaner install... Otherwise, it may be time for a fresh Ubuntu install? ;-) – Majal Jan 25 '17 at 13:24
2

Seems like you are trying to run on 64bit machine.

Run below script

sudo dpkg --add-architecture i386
sudo apt-get install wine32

Once you have installed 32bit wine in your ubuntu then try running *.exe by

wine <executable-name>.exe

Hope the error will not appear and wait for few seconds to open exe file. it depends upon on your machine configurations

| improve this answer | |
0

As suggested by Majal, tried running

sudo aptitude -f install wine32

This mentioned that a bunch of *heimdal*:i386 files could not be installed, as the version of the x86_64 package was different.

libroken18-heimdal : Breaks: libroken18-heimdal:i386 (!= 1.7~git20160703+dfsg-1) but 1.7~git20150920+dfsg-4ubuntu1 is to be installed

It turns out that I had a higher version of the x86_64 packages than what was available in the repositories (probably some PPA with only x86_64 packages?).

So, using synaptic I have downgraded all the *heimdal* packages, and then I've been able to install wine.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.