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

  • Linux qemu-kvm How To Enable Soundcard in Guestl
  • QEMU-KVM Windows and Server Guest Installs Mouse Tracking Pointer Location Solution
  • SSH Keep Alive To stop Disconnections
  • Linux How To Disable SATA NCQ For Better Performance
  • the sign-in method you're trying to use isn't allowed. For more info, contact your network administrator - solution for active directory
  • gsmartcontrol for Windows to Check the SMART S.M.A.R.T status
  • WebRTC Vulnerability Shows Local IP Address Even When Using a Proxy or VPN Firefox Fix And Disable Solution
  • chroot in Linux Howto Simple and Easy Guide
  • qemu-kvm qemu-system Image format was not specified for '/mnt/space/cucm12.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'ra
  • Linux Over VNC VMWare How To Switch Virtual Terminals Console Without Using Ctrl+Alt+F1
  • Skype For Business 2015 and 2019 Guide, Reference, Howto and Troubleshooting Solutions
  • Centos 6 or 7 no DHCP IP during startup on first boot or reboot solution
  • Debian / Mint / Ubuntu net-tools packages provides netstat, ifconfig, route, arp and other classic network admin tools
  • Linux Mint XWindows Ubuntu MATE or Cinnamon How To Restart The GUI / Graphics / Session if it freezes without losing current windows or programs
  • Linux bash prompt why does it not show username@host and the current directory?
  • Microsoft SQL Server Check What Version is Running
  • How to install and setup LXC Containers (OpenVZ alternative) on Centos 6 / 7
  • Cisco CUCM Unified Communication Manager Howto Guide and Tutorials
  • SSH persistent and automatic login script for proxy
  • SSH proxy/command in the background or from cron script