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

  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically
  • How to set Linux Ubuntu Redhat Debian Command Line http https socks proxy for yum apt