Wine is corrupt after crash

Questions about Wine on Linux
Locked
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Wine is corrupt after crash

Post by LMLM »

My computer froze while several things were running, including Wine. I had to hard reset. Now Wine doesn't work anymore.
$ winecfg
system.reg is not a valid registry file
userdef.reg:4: Mismatched architecture '#arch=win64'
userdef.reg is not a valid registry file
user.reg:4: Mismatched architecture '#arch=win64'
user.reg is not a valid registry file
wine: Bad EXE format for C:\windows\system32\wineboot.exe.
0009:err:process:start_wineboot failed to start wineboot, err 193
wine: Bad EXE format for C:\windows\system32\wineboot.exe.
000d:err:process:start_wineboot failed to start wineboot, err 193
wine: Bad EXE format for C:\windows\system32\winecfg.exe.
I already had both 64bit and 32bit before this. The problem started after the crash.

I checked the Debian repository and saw there was a new version - staging 4.4 - and upgraded, but that didn't fix it.
What will fix it?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine is corrupt after crash

Post by jkfloris »

Maybe there are other solutions, but the most easy way is to back-up your Wineprefix, create a new one and reinstall the applications you need.

Code: Select all

mv ~/.wine ~/.wine.old
wineboot -u
wine start /unix <path/to/setup.exe>
Locked