Public bug reported:

I am working on the Xubuntu LTS Upgrade From 22.04 To 24.04. The process
went very smoothly. However Wine did not automatically work without a
hitch.

At first after the LTS Upgrade, when I would run an Application that
uses the Wine architecture, nothing would appear to happen. I looked up
the Launcher Command for a simple application that uses Wine:

/usr/bin/wine 'c:\\Program Files (x86)\\PMView\\PMView.exe'
And that way I could see an error message coming back from Wine:

wine: '/home/mdlueck/.wine' is a 32-bit installation, it cannot support 64-bit 
applications.
I then went looking, and found many suggestions to just merely wipe out my:

~/.wine

However, according to this page:

"How to create new Wine prefixes on Linux"
https://www.addictivetips.com/ubuntu-linux-tips/create-wine-prefixes-on-linux/

A Wine prefix (AKA a Wine bottle) is a special folder in which Wine
places all Wine-specific files, installed Windows programs, libraries
and registry code, and even user preferences in.

Usually, a user only has one Wine prefix. This prefix is the ~/.wine
folder.

Since my Xubuntu installation has always been 64-bit. I was very puzzled
how after the LTS upgrade from 22.04 to 24.04 suddenly the Wine
environment had reverted back to 32-bit mode. Several years ago. Wine in
one of its updates that refreshes the Wine prefix had reorganization
directories within that prefix to have the following segregated
directory structures:

~/.wine/drive_c/Program Files/
~/.wine/drive_c/Program Files (x86)/

Back then, seeing this distinction, I reorganized my Windows program
files I was running through Wine, segregating the 32-bit Windows
programs under "Program Files (x86)" and the 64-bit Windows programs
under "Program Files". So I turned to Synaptic to see what sorts of Wine
packages were installed after my upgrade to Xubuntu 24.04.

I quickly located a package which had not gotten installed, named
simply:

wine64

I added that package. and found that with that package added, it cured
the original Wine error message I had found, the first time brought up
the "Updating Wine Profile" dialog I had remembered seeing, and indeed
successfully runs the Windows application.

Summary:
After LTS upgrading to Xubuntu / Ubunut 24.04 and if applications which use 
Wine to run on Linux will not start, try adding package "wine64" to see if that 
remedies your difficulties.

Do not... NO NOT! scorch Earth and remove all of your ~/.wine/ directory
structure as many Internet posts suggests. Try this first!

** Affects: wine (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2113493

Title:
  Xubuntu LTS Upgrade From 22.04 To 24.04 Leaves Wine Suddenly Reporting
  wine is a 32-bit installation, it cannot support 64-bit applications

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/2113493/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to