Wine stopped working/won't work Solution

After an upgrade wine wouldn't open anything, not even the pre-installed notepad.

There are no wine logs and nothing is mentioned in any standard log file about why.

I finally decided to run wine from the shell and see what's going on:

wine client error:0: version mismatch 398/402.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

I've already removed and re-installed wine without any luck.  Obviously it isn't getting cleaned out or reinstalled properly.

Here's what dpkg says I have installed right now:

ii  wine                                 1.2-0ubuntu6~lucid5                             Microsoft Windows Compatibility Layer (dummy
ii  wine1.2                              1.2-0ubuntu6~lucid5                             Microsoft Windows Compatibility Layer (Binar
ii  wine1.2-gecko                        1.0.0-0ubuntu4                                  Microsoft Windows Compatibility Layer (Web B

*One warning before running the below with --purge it does remove your wine programs and other settings.

sudo apt-get --purge remove wine1.2 wine1.2-gecko

Now let's reinstall wine and see if it works:

sudo apt-get install wine
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libswfdec-0.8-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  wine1.2 wine1.2-gecko
Recommended packages:
  winetricks wisotool
The following NEW packages will be installed:
  wine wine1.2 wine1.2-gecko
0 upgraded, 3 newly installed, 0 to remove and 8 not upgraded.
Need to get 8,123kB/18.6MB of archives.
After this operation, 95.4MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirror.its.uidaho.edu/pub/ubuntu/ lucid/multiverse wine1.2-gecko 1.0.0-0ubuntu4 [8,123kB]
Fetched 8,123kB in 1s (5,687kB/s)       
Preconfiguring packages ...
Selecting previously deselected package wine1.2.
(Reading database ... 281968 files and directories currently installed.)
Unpacking wine1.2 (from .../wine1.2_1.2-0ubuntu6~lucid5_i386.deb) ...

No I still get the same error, I think I need to remove the "~/.wine" directory.

wine client error:0: version mismatch 398/402.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

Yes removing the current .wine made notepad start.  This is obviously a config issue and I'm not sure how else it could have been resolved other than removing the old .wine.


Tags:

solutionafter, upgrade, wouldn, installed, notepad, logs, shell, mismatch, wineserver, binary, upgraded, correctly, ve, isn, reinstalled, dpkg, ii, ubuntu, lucid, microsoft, compatibility, layer, dummy, binar, gecko, purge, programs, settings, sudo, apt, reinstall, install, lists, dependency, packages, automatically, libswfdec, autoremove, recommended, winetricks, wisotool, newly, kb, mb, archives, additional, disk, http, uidaho, edu, pub, multiverse, fetched, preconfiguring, selecting, previously, deselected, database, directories, currently, unpacking, _, _i, deb, quot, directory, removing, config, resolved,

Latest Articles

  • Ubuntu Mint How to Fix Missing/Broken /dev and /dev/pts which causes terminal to immediately close exit and not work
  • How high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution
  • Ubuntu Linux Mint Debian Redhat Youtube Cannot Play HD or 4K videos, dropped frames or high CPU usage with Nvidia or AMD Driver
  • hostapd example configuration for high speed AC on 5GHz using WPA2
  • hostapd how to enable and use WPS to connect wireless devices like printers
  • Dell Server Workstation iDRAC Dead after Firmware Update Solution R720, R320, R730
  • Cloned VM/Server/Computer in Linux won't boot and goes to initramfs busybox Solution
  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux