wine was updated and program no longer launch, like it launching on empty/default prefix

Questions about Wine on Linux
Locked
postcd
Level 2
Level 2
Posts: 14
Joined: Mon Nov 05, 2018 5:07 am

wine was updated and program no longer launch, like it launching on empty/default prefix

Post by postcd »

Hello,

on Linux Debian 11 the wine was updated by package manager:
The following packages will be upgraded:
wine-devel wine-devel-amd64 wine-devel-i386:i386 winehq-devel
Setting up wine-devel-i386:i386 (7.10~bullseye-1) ...
Setting up wine-devel-amd64 (7.10~bullseye-1) ...
Setting up wine-devel (7.10~bullseye-1) ...
Setting up winehq-devel (7.10~bullseye-1) ...
package is from: APT-Sources: https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages

and the .exe launched using launcher command

Code: Select all

wine "/path/file.exe"
stopped working, saying something like that Wine prefix configuring, missing mono package, and other missing SW. Like it is using some default/empty prefix suddenly.

So my question is how to prevent this in future and how to launch properly now. I am backing up my /home partition so i can restore if the bad software damaged any settings.
Thank you in advance for help.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine was updated and program no longer launch, like it launching on empty/default prefix

Post by jkfloris »

saying something like that Wine prefix configuring, missing mono package
This is normal. After you install a new Wine version and run wine, Wine will update the wineprefix.
Wine 7.10 also comes with a new Wine-mono version (7.3.0), so it will also be downloaded and installed as well.
and other missing SW
This is something I can't explain. Or you must have a .Net version installed. In that case, sometimes errors are shown when the wineprefix is updated.

However, after this the exe file should be executed. Is there something in the terminal output why that doesn't happen?
So my question is how to prevent this in future
One way to ensure that Wine does not update the wineprefix is to not update Wine.
Another way is to put disable in .update-timestamp

Code: Select all

echo disable > "${HOME}/.wine/.update-timestamp"
Whether there are any disadvantages to this, I can't say. But your Wine version and wineprefix will be out of sync.
postcd
Level 2
Level 2
Posts: 14
Joined: Mon Nov 05, 2018 5:07 am

Re: wine was updated and program no longer launch, like it launching on empty/default prefix

Post by postcd »

Thank you for help.
I see that after reboot/second launch of the .exe it launched without problem :?
Locked