hangover icon indicating copy to clipboard operation
hangover copied to clipboard

Hangover installation+operation on Debian 12/13

Open MWStonton opened this issue 2 weeks ago • 3 comments

System Details

Debian 12 and 13 virtual machines using UTM/Apple virtualisation on Apple Mac Mini, M2 Pro

Problem Description

I have issues with not being able to get Hangover (10.18) to work for me (my requirement) which seems similar to a number of the issues on github. I don’t have detailed software/linux knowledge but have some ability to try hangover with different configurations and so I’m hoping that some feedback on what I’ve found might help provide some pointers…

Debian 13 Attempting install using “sudo apt install ./hangover*.deb” command (as github page) gives the following:

Note, selecting 'hangover-libarm64ecfex' instead of './hangover-libarm64ecfex_10.18_arm64.deb' Note, selecting 'hangover-libwow64fex' instead of './hangover-libwow64fex_10.18_arm64.deb' Note, selecting 'hangover-wine' instead of './hangover-wine_10.18~trixie_arm64.deb' Note, selecting 'hangover-wowbox64' instead of './hangover-wowbox64_10.18_arm64.deb' The following packages were automatically installed and are no longer required: linux-image-6.12.38+deb13-arm64 linux-image-6.12.41+deb13-arm64 Use 'sudo apt autoremove' to remove them.

Installing: hangover-libarm64ecfex hangover-wine hangover-libwow64fex hangover-wowbox64

Installing dependencies: libasound2-plugins

Recommended packages: libodbc1

Summary: Upgrading: 0, Installing: 5, Removing: 0, Not Upgrading: 0 Download size: 67.1 kB / 217 MB Space needed: 2,151 MB / 7,612 MB available

Continue? [Y/n] y Get:1 /home/devmws/hangover_10.18_debian13_trixie_arm64/hangover-libarm64ecfex_10.18_arm64.deb hangover-libarm64ecfex arm64 10.18 [812 kB] Get:2 /home/devmws/hangover_10.18_debian13_trixie_arm64/hangover-wowbox64_10.18_arm64.deb hangover-wowbox64 arm64 10.18 [956 kB] Get:3 /home/devmws/hangover_10.18_debian13_trixie_arm64/hangover-wine_10.18~trixie_arm64.deb hangover-wine arm64 10.18~trixie [214 MB] Get:4 http://deb.debian.org/debian trixie/main arm64 libasound2-plugins arm64 1.2.12-2+b1 [67.1 kB] Get:5 /home/devmws/hangover_10.18_debian13_trixie_arm64/hangover-libwow64fex_10.18_arm64.deb hangover-libwow64fex arm64 10.18 [724 kB] Fetched 67.1 kB in 1s (101 kB/s)
Selecting previously unselected package hangover-libarm64ecfex. (Reading database ... 153517 files and directories currently installed.) Preparing to unpack .../hangover-libarm64ecfex_10.18_arm64.deb ... Unpacking hangover-libarm64ecfex (10.18) ... Selecting previously unselected package hangover-wowbox64. Preparing to unpack .../hangover-wowbox64_10.18_arm64.deb ... Unpacking hangover-wowbox64 (10.18) ... Selecting previously unselected package hangover-wine. Preparing to unpack .../hangover-wine_10.18~trixie_arm64.deb ... Unpacking hangover-wine (10.18~trixie) ... Selecting previously unselected package libasound2-plugins:arm64. Preparing to unpack .../libasound2-plugins_1.2.12-2+b1_arm64.deb ... Unpacking libasound2-plugins:arm64 (1.2.12-2+b1) ... Selecting previously unselected package hangover-libwow64fex. Preparing to unpack .../hangover-libwow64fex_10.18_arm64.deb ... Unpacking hangover-libwow64fex (10.18) ... Setting up libasound2-plugins:arm64 (1.2.12-2+b1) ... Setting up hangover-libarm64ecfex (10.18) ... Setting up hangover-wowbox64 (10.18) ... Setting up hangover-libwow64fex (10.18) ... Setting up hangover-wine (10.18~trixie) ... Processing triggers for desktop-file-utils (0.28-1) ... Processing triggers for gnome-menus (3.36.0-3) ... Processing triggers for libc-bin (2.41-12) ... Processing triggers for man-db (2.13.1-1) ... Processing triggers for mailcap (3.74) ... Notice: Download is performed unsandboxed as root as file '/home/devmws/hangover_10.18_debian13_trixie_arm64/hangover-libarm64ecfex_10.18_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Running “winecfg” does create the .wine folder and hangs with

wine: created the configuration directory '/home/devmws/.wine'

Trying instead “sudo dpkg -i *.deb” appears to succeed and gives:

Selecting previously unselected package hangover-libarm64ecfex. (Reading database ... 153517 files and directories currently installed.) Preparing to unpack hangover-libarm64ecfex_10.18_arm64.deb ... Unpacking hangover-libarm64ecfex (10.18) ... Selecting previously unselected package hangover-libwow64fex. Preparing to unpack hangover-libwow64fex_10.18_arm64.deb ... Unpacking hangover-libwow64fex (10.18) ... Selecting previously unselected package hangover-wine. Preparing to unpack hangover-wine_10.18~trixie_arm64.deb ... Unpacking hangover-wine (10.18~trixie) ... Selecting previously unselected package hangover-wowbox64. Preparing to unpack hangover-wowbox64_10.18_arm64.deb ... Unpacking hangover-wowbox64 (10.18) ... Setting up hangover-libarm64ecfex (10.18) ... Setting up hangover-libwow64fex (10.18) ... Setting up hangover-wowbox64 (10.18) ... Setting up hangover-wine (10.18~trixie) ... Processing triggers for libc-bin (2.41-12) ... Processing triggers for mailcap (3.74) ... Processing triggers for gnome-menus (3.36.0-3) ... Processing triggers for desktop-file-utils (0.28-1) ... Processing triggers for man-db (2.13.1-1) ...

The same thing as before happens running “winecfg” - does create the .wine folder and hangs with (and does the same after a restart):

wine: created the configuration directory '/home/devmws/.wine'

SO - trying Debian 12 Attempting install using “sudo apt install ./hangover*.deb” command from github gives the following:

Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'hangover-libarm64ecfex' instead of './hangover-libarm64ecfex_10.18_arm64.deb' Note, selecting 'hangover-libwow64fex' instead of './hangover-libwow64fex_10.18_arm64.deb' Note, selecting 'hangover-wine' instead of './hangover-wine_10.18~bookworm_arm64.deb' Note, selecting 'hangover-wowbox64' instead of './hangover-wowbox64_10.18_arm64.deb' The following package was automatically installed and is no longer required: linux-image-6.1.0-39-arm64 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libasound2-plugins libodbc1 libodbc2 libodbccr2 libspeexdsp1 Suggested packages: odbc-postgresql tdsodbc The following NEW packages will be installed: hangover-libarm64ecfex hangover-libwow64fex hangover-wine hangover-wowbox64 libasound2-plugins libodbc1 libodbc2 libodbccr2 libspeexdsp1 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 261 kB/217 MB of archives. After this operation, 2,151 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 /home/devmws/hangover-libarm64ecfex_10.18_arm64.deb hangover-libarm64ecfex arm64 10.18 [812 kB] Get:2 /home/devmws/hangover-wowbox64_10.18_arm64.deb hangover-wowbox64 arm64 10.18 [956 kB] Get:3 http://deb.debian.org/debian bookworm/main arm64 libspeexdsp1 arm64 1.2.1-1 [35.8 kB] Get:4 http://deb.debian.org/debian bookworm/main arm64 libasound2-plugins arm64 1.2.7.1-1 [72.0 kB] Get:5 http://deb.debian.org/debian bookworm/main arm64 libodbc2 arm64 2.3.11-2+deb12u1 [132 kB] Get:6 http://deb.debian.org/debian bookworm/main arm64 libodbccr2 arm64 2.3.11-2+deb12u1 [16.4 kB] Get:7 http://deb.debian.org/debian bookworm/main arm64 libodbc1 arm64 2.3.11-2+deb12u1 [5,008 B] Get:8 /home/devmws/hangover-wine_10.18~bookworm_arm64.deb hangover-wine arm64 10.18~bookworm [214 MB] Get:9 /home/devmws/hangover-libwow64fex_10.18_arm64.deb hangover-libwow64fex arm64 10.18 [724 kB] Fetched 261 kB in 1s (254 kB/s) Selecting previously unselected package hangover-libarm64ecfex. (Reading database ... 159526 files and directories currently installed.) Preparing to unpack .../0-hangover-libarm64ecfex_10.18_arm64.deb ... Unpacking hangover-libarm64ecfex (10.18) ... Selecting previously unselected package hangover-wowbox64. Preparing to unpack .../1-hangover-wowbox64_10.18_arm64.deb ... Unpacking hangover-wowbox64 (10.18) ... Selecting previously unselected package hangover-wine. Preparing to unpack .../2-hangover-wine_10.18~bookworm_arm64.deb ... Unpacking hangover-wine (10.18~bookworm) ... Selecting previously unselected package libspeexdsp1:arm64. Preparing to unpack .../3-libspeexdsp1_1.2.1-1_arm64.deb ... Unpacking libspeexdsp1:arm64 (1.2.1-1) .........................................................................] Selecting previously unselected package libasound2-plugins:arm64. Preparing to unpack .../4-libasound2-plugins_1.2.7.1-1_arm64.deb ... Unpacking libasound2-plugins:arm64 (1.2.7.1-1) ... Selecting previously unselected package libodbc2:arm64. Preparing to unpack .../5-libodbc2_2.3.11-2+deb12u1_arm64.deb ... Unpacking libodbc2:arm64 (2.3.11-2+deb12u1) ... Selecting previously unselected package libodbccr2:arm64. Preparing to unpack .../6-libodbccr2_2.3.11-2+deb12u1_arm64.deb ... Unpacking libodbccr2:arm64 (2.3.11-2+deb12u1) ... Selecting previously unselected package libodbc1:arm64. Preparing to unpack .../7-libodbc1_2.3.11-2+deb12u1_arm64.deb ... Unpacking libodbc1:arm64 (2.3.11-2+deb12u1) ... Selecting previously unselected package hangover-libwow64fex. Preparing to unpack .../8-hangover-libwow64fex_10.18_arm64.deb ... Unpacking hangover-libwow64fex (10.18) ... Setting up hangover-libarm64ecfex (10.18) ... Setting up hangover-wowbox64 (10.18) ... Setting up hangover-libwow64fex (10.18) ... Setting up libodbc2:arm64 (2.3.11-2+deb12u1) ... Setting up libspeexdsp1:arm64 (1.2.1-1) ... Setting up hangover-wine (10.18~bookworm) ... Setting up libodbccr2:arm64 (2.3.11-2+deb12u1) ... Setting up libasound2-plugins:arm64 (1.2.7.1-1) ... Setting up libodbc1:arm64 (2.3.11-2+deb12u1) ... Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for gnome-menus (3.36.0-1.1) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for mailcap (3.70+nmu1) ... N: Download is performed unsandboxed as root as file '/home/devmws/hangover-libarm64ecfex_10.18_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Running “winecfg” pops up the small Wine window (The Wine configuration in /home/devmws/.wine is being updated, please wait…) and hangs after giving:

wine: created the configuration directory '/home/devmws/.wine' 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002 0054:err:ole:start_rpcss Failed to open RpcSs service 004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002 00e0:err:environ:init_peb starting L"C:\windows\syswow64\rundll32.exe" in experimental wow64 mode [BOX64] WowBox64 arm64 v0.3.8 (Hangover 10.18) with Dynarec built on Nov 2 2025 19:23:57 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM2 FRINT

After a restart, and running “winecfg” again the “Wine configuration” window pops up o.k.

However I can’t install the app I’m interested in with “wine FlashPrint\ 5_5.8.7_x64.exe”, I get:

0024:err:environ:init_peb starting L"Z:\home\devmws\FlashPrint 5_5.8.7_x64.exe" in experimental wow64 mode [BOX64] WowBox64 arm64 v0.3.8 (Hangover 10.18) with Dynarec built on Nov 2 2025 19:23:57 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM2 FRINT wine: could not load kernel32.dll, status c0000135

So, Debian 12 and installing using “sudo dpkg -i *.deb” gives:

Selecting previously unselected package hangover-libarm64ecfex. (Reading database ... 159526 files and directories currently installed.) Preparing to unpack hangover-libarm64ecfex_10.18_arm64.deb ... Unpacking hangover-libarm64ecfex (10.18) ... Selecting previously unselected package hangover-libwow64fex. Preparing to unpack hangover-libwow64fex_10.18_arm64.deb ... Unpacking hangover-libwow64fex (10.18) ... Selecting previously unselected package hangover-wine. Preparing to unpack hangover-wine_10.18~bookworm_arm64.deb ... Unpacking hangover-wine (10.18~bookworm) ... Selecting previously unselected package hangover-wowbox64. Preparing to unpack hangover-wowbox64_10.18_arm64.deb ... Unpacking hangover-wowbox64 (10.18) ... Setting up hangover-libarm64ecfex (10.18) ... Setting up hangover-libwow64fex (10.18) ... Setting up hangover-wowbox64 (10.18) ... Setting up hangover-wine (10.18~bookworm) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... Processing triggers for gnome-menus (3.36.0-1.1) ... Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for man-db (2.11.2-2) ...

And running “winecfg” pops up the small Wine window about configuring (as above) but again hangs and gives:

wine: created the configuration directory '/home/devmws/.wine' 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002 0054:err:ole:start_rpcss Failed to open RpcSs service 004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002 00e0:err:environ:init_peb starting L"C:\windows\syswow64\rundll32.exe" in experimental wow64 mode [BOX64] WowBox64 arm64 v0.3.8 (Hangover 10.18) with Dynarec built on Nov 2 2025 19:23:57 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM2 FRINT

After a restart and ”winecfg” again I get the proper “Wine configuration” window.

However I still can’t install the app I’m interested in with “wine FlashPrint\ 5_5.8.7_x64.exe”, I get:

0024:err:environ:init_peb starting L"Z:\home\devmws\FlashPrint 5_5.8.7_x64.exe" in experimental wow64 mode [BOX64] WowBox64 arm64 v0.3.8 (Hangover 10.18) with Dynarec built on Nov 2 2025 19:23:57 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM2 FRINT wine: could not load kernel32.dll, status c0000135

**Summary is (I think):

Debian 12 or 13 install using apt install gives an error (fetching alternative packages????) Debian 12 or 13 install using dpkg -i appears to succeed (no errors and time taken suggests install is going ahead)

winecfg always hangs with Debian 13 (even second attempt after restart) winecfg hangs on first run with Debian 12 but is successful after retry after restart (don’t know if restart is necessary but a second attempt is) for either installation method.

My application installation fails with Debian 12 whichever install method has been used - for reference, in case it’s the right one being described, there is a kernel32.dll at .wine/drive_c/windows/system32/**

MWStonton avatar Dec 06 '25 16:12 MWStonton

Debian 12 or 13 install using apt install gives an error (fetching alternative packages????)

To me it looks like everything is ok with the apt install method. Let's focus on Debian 12 for now, the Debian 13 problem is likely #200

[BOX64] WowBox64 arm64 v0.3.8 (Hangover 10.18) with Dynarec built on Nov 2 2025 19:23:57 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM2 FRINT

After a restart and ”winecfg” again I get the proper “Wine configuration” window.

Why the restart? wait for the winecfg window

wine: could not load kernel32.dll, status c0000135

That's because wineboot wasn't finished successfully (because of the restart). c0000135 means "dll not found". windows/syswow64/kernel32.dll is missing.

If wineboot doesn't finish with box64, try FEX:

rm -rf .wine; HODLL=libwow64fex.dll winecfg

AndreRH avatar Dec 06 '25 17:12 AndreRH

Thanks - just started again - was planning to wait at least some minutes (as I have in the past, and thus the restart - think in the past I've also deleted .wine and started again) and this time the Wine Configuration window popped up almost instantly (I know I'm impatient but this was definitely quick this time where it hasn't been before). Just trying the app install which is taking forever this time but haven't got the time to look just at the moment but will try the above and DXVK configuration later. Thanks

MWStonton avatar Dec 06 '25 17:12 MWStonton

So stopped the app install and used HODLL=libwow64fex.dll wine app (didn't need to do this for winecfg as mentioned above) and all went smoothly. Will worry about Debian 13 later (will read the other issue and see what I need to adjust) Still don't understand as the behaviour just now was SO different from the multiple times I've tried before - thanks again!

MWStonton avatar Dec 06 '25 17:12 MWStonton

Debian 13 should work now with the new release, #192 was closed

AndreRH avatar Dec 08 '25 22:12 AndreRH