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

  • ImageMagick Convert PDF Not Authorized
  • ImageMagick Converted PDF to JPEG some files have a black background solution
  • Linux Mint Mate Customize the Lock screen messages and hide username and real name
  • Ubuntu/Gnome/Mint/Centos How To Take a partial screenshot
  • ssh how to verify your host key / avoid MIM attacks
  • Cisco IP Phone CP-8845 8800/8900 Series How To Reset To Factory Settings Instructions
  • ls how to list ONLY directories
  • How to encrypt your SSH private key file id_rsa
  • Linux Mint 18 Disable User Name List from showing on Login Screen
  • Firefox Cannot Hit Enter Key In Address Bar and Location History Not Working
  • Cisco Unified Communications Manager / CUCM IP 8.6,10,12 Install Error Solution
  • Ubuntu Debian Mint Linux SSHD OpenSSH Server Not Starting After Reboot Solution
  • nmap how to scan for all ports and not just the 1000 most common ports
  • Windows 7,8,10 and Server 2008, 2012, 2016, 2019 Read Only Attribute Won't Go Away
  • bind / named how to make a wildcard record and retain defined A records
  • Cisco Unified Communications Manager 12 Install Errors on Proxmox/KVM
  • Local Vs Universally Administered MAC Address NIC Refuses to come up
  • Cisco Unified Communications Manager 12 CUCM 12 - How To Enable Video Calling
  • Windows 7, 8, 10, Windows Server 2008, 2012, 2016, 2019 How To AC97 Audio Drivers and Other Unsigned Drivers
  • Cisco Unified Communications Manager / CUCM IP Telephony Definitions