Many years ago I setup KDE and Wine, it is still running well and I love it. I thought I would set up a new system on a spare harddrive in case disaster strikes but am totally stuck with Wine. I have send all day trying various suggestions on here and the web but it still produces 32 bit files lacking.
I have just done a new install and loaded Wine following this
But wine tricks bring up the normal error
wine cmd.exe /c echo ‘%AppData%’ returned empty string, error message “wine: could not load kernel32.dll, status c0000135”
Can any body help before I dive it the whisky bottle.
When you install a Windows application, it will by default be installed in a directory called ~/.wine
Or you can set WINEPREFIX to some other directory.
If you chose to go the first route, you need to move the directory (or delete it). mv ~/.wine ~/.wine_now_old_and_defunct
and then simply reinstall your Windows application
You should use some software like “bottles” which will help you organize your different Windows applications and also allows you to use a specific, (also older) wine version for each one program,
so that you are not dependent on the ever changing system wide version of wine.
Basically, delete any already existing. If you have never created a customwineprefix then it’s likely the only one will be the default (hidden) wineprefix at ~/.wine in you user directory.
Delete it. Any Windows applications previously installed in WINE will need to be installed (and configured, where necessary) again.
While installing Windows applications, WINE will create a new default wineprefix and progressively update it according to the needs of the Windows applications you install.
That’s the theory, at least.
Note (for passers-by or those interested):
A wineprefix is WINE-speak for a directory that contains the files needed for running Windows applications; the content of “C:\ drive” in Windows parlance.
Deleting the wineprefix is akin to reinstalling the OS; something M$ Windows users have become more than accustomed to; except that WINE does the reinstalling for you.
… maybe not really delete it - at least not immediately
There might be important data within this “Windows” installation.
That’s why I recommended moving/renaming instead of deleting.
Thank you for the replies but I have hopefully found an easier solution. I had a full system backup from a couple of months back so I used that and then all the updates ignoring Wine and it worked.
Just got to remember when I do future updates to ignore Wine.
This will never be a long term solution. Your Wine will break with one of the future updates. It will probably not break with the next update, but it will break eventually.
On an rolling distribution, ignoring updates is not a solution. You just need to deal with at a later point. Wine is not a critical system packages, so at least your system will probably still boot.