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

  • How to install Windows or other OS and then bring to another computer by using a physical drive and Virtual Machine with QEMU
  • PXE-E23 Error BOOTx64.EFI GRUB booting is 0 bytes tftp pxe dhcp solution NBP filesize is 0 Bytes
  • vagrant install on Debian Mint Ubuntu Linux RHEL Quick Setup Guide Tutorial
  • RHEL 8 CentOS 8, Alma Linux 8, Rocky Linux 8 System Not Booting with RAID or on other servers/computers Solution for dracut and initramfs missing kernel modules
  • How to Upgrade to Debian 11 from Version 8,9,10
  • Ubuntu Linux Mint Debian Redhat Cannot View Files on Android iPhone USB File Transfer Not Working Solution
  • Virtualbox Best Networking Mode In Lab/Work Environment without using NAT Network or Bridged
  • debootstrap how to install Ubuntu, Mint, Debian install
  • Linux grub not using UUID for the root device instead it uses /dev/sda1 or other device name solution
  • How To Restore Partition Table on Running Linux Mint Ubuntu Debian Machine
  • Debian Ubuntu apt install stop daemon questions/accept the default action without prompting
  • iptables NAT how to enable PPTP in newer Debian/Ubuntu/Mint Kernels Linux
  • Grandstream Phone Vulnerability Security Issue Remote Backdoor Connection to 207.246.119.209:3478
  • Linux How to Check Which NIC is Onboard eth0 or eth1 Ubuntu Centos Debian Mint
  • VboxManage VirtualBox NAT Network Issues Managment Troubleshooting
  • Dell PowerEdge Server iDRAC Remote KVM/IP Default Username, Password Reset and Login Information Solution
  • Nvidia Tesla GPUs K40/K80/M40/P40/P100/V100 at home/desktop hacking, cooling, powering, cable solutions Tutorial AIO Solutions
  • Stop ls in Linux Debian Mint CentOS Ubuntu from applying quotes around filenames and directory names
  • Thunderbird Attachment Download Error Corrupt Wrong filesize of 29 or 27 bytes Solution
  • Generic IP Camera LAN Default IP Settings DVR