Ubuntu – Cannot install wine32 in Ubuntu 16.10

16.10wine

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

Best Answer

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. ;-)