Can't create a win64 installation

Questions about Wine on Linux
Post Reply
fivenote
Newbie
Newbie
Posts: 2
Joined: Wed Feb 07, 2024 2:23 pm

Can't create a win64 installation

Post by fivenote »

Looking for some help...

I'm on Debian Bullseye 64-bit and installed wine 9 according to https://wiki.winehq.org/Debian. In the Notes section it says a full 64-bit system should have...

Code: Select all

winehq-stable wine-stable wine-stable-amd64 wine-stable-i386
All these are installed. No previous wine or wine packages are on the system.

Whenever I create a new WINEPREFIX, it's always a 32-bit installation. When I run a 64-bit app I get...

Code: Select all

Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Bad EXE format for E:\home\pi\Backup\systems\rpi\setup\mt5\setup\mt5setup.exe
If I use WINEARCH=win64 to start the app or create a new WINEPREFIX with wineboot or winecfg I get...

Code: Select all

wine: WINEARCH set to win64 but '/home/pi/.wine' is a 32-bit installation.
What could be preventing wine from making a 64-bit installation?
fivenote
Newbie
Newbie
Posts: 2
Joined: Wed Feb 07, 2024 2:23 pm

Re: Can't create a win64 installation

Post by fivenote »

Maybe found a cause, but don't know how to fix it...

When I install winehq-stable, wine-stable-amd64 is not shown as a dependency. I can install wine-stable-amd64 separately, but does this mean wine does not think I have a 64-bit OS?

Code: Select all

~ $ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcapi20-3 libodbc1 libosmesa6 libpcap0.8 wine-stable wine-stable-i386
Suggested packages:
  libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  libcapi20-3 libodbc1 libosmesa6 libpcap0.8 wine-stable wine-stable-i386 winehq-stable
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 96.7 MB/100.0 MB of archives.
After this operation, 648 MB of additional disk space will be used.
Do you want to continue? [Y/n]  
My kernel...

Code: Select all

Linux rdn1 5.10.0-27-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux
desessarts
Level 3
Level 3
Posts: 66
Joined: Wed Oct 04, 2023 7:57 am

Re: Can't create a win64 installation

Post by desessarts »

hello

remove and create again a clean prefix

Code: Select all

rm -rf ~/.wine
export WINEARCH=win64 
export WINEPREFIX=~/.wine 
wineboot -u
Post Reply