.NET 4.6.2 issues

Questions about Wine on Linux
Locked
yam000
Newbie
Newbie
Posts: 3
Joined: Thu Feb 18, 2021 3:39 am

.NET 4.6.2 issues

Post by yam000 »

Hi! I'm having some issues with .NET 4.6.2...

Running Gentoo I have tried with both vanilla 6.2 and staging 6.2 to install .NET 4.6.2 using winetricks (also latest version, updated using the self updater):

Code: Select all

sleepy@magi ~/.wine/drive_c/koikatu/game/[UTILITY] KKManager $ winetricks -q dotnet462 --force
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20210206-next - sha256sum: 83e837aad3447b9387b6ebf3d1734585ae6ffc35f9ab8298d01af4f2f473a6db with wine-6.2 and WINEARCH=win64
Executing w_do_call dotnet462
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet462 
------------------------------------------------------
warning: This package (dotnet462) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono 
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet461
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet461 
------------------------------------------------------
warning: This package (dotnet461) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono 
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet46
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet46 
------------------------------------------------------
warning: This package (dotnet46) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono 
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet45
Executing mkdir -p /home/sleepy
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet45 
------------------------------------------------------
warning: This package (dotnet45) is broken in wine-6.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
------------------------------------------------------
Executing the game (wine game.exe) gives me this error:

Code: Select all

002c:err:winediag:WS_getaddrinfo Failed to resolve your host name IP
0024:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.2" not implemented
0024:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.2" not implemented
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Full WINEDEBUG=warn+all output: https://pastebin.com/VxG3fsVc

Package info (USE/versions):

Code: Select all

wine-vanilla 6.2(6.2)^t(09:25:04 PM 02/17/2021)(X alsa cups faudio fontconfig gecko jpeg lcms mono mp3 nls opengl perl png pulseaudio realtime run-exes sdl ssl threads truetype udev udisks unwind usb vulkan xcomposite xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -gstreamer -kerberos -ldap -mingw -netapi -odbc -openal -opencl -osmesa -oss -pcap -prelink -samba -scanner -selinux -test -v4l -vkd3d ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" ELIBC="glibc" KERNEL="-FreeBSD"

Code: Select all

wine-staging 6.2(6.2)^t(09:52:05 PM 02/17/2021)(X alsa cups faudio fontconfig gcrypt gecko jpeg lcms mono mp3 nls opengl perl png pulseaudio realtime run-exes sdl ssl staging threads truetype udev udisks unwind usb vaapi vkd3d vulkan xcomposite xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -gssapi -gstreamer -kerberos -ldap -mingw -netapi -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -samba -scanner -selinux -test -themes -v4l ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" ELIBC="glibc" KERNEL="-FreeBSD")

Code: Select all

wine-mono 6.0
I am not really sure what's going on here, if anyone could help out it would be appreciated.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: .NET 4.6.2 issues

Post by jkfloris »

The answer is in your terminal output:
Executing w_do_call remove_mono
...
warning: This package (dotnet45) is broken in wine-6.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
First, wintricks removes mono from the wineprefix, but fails to install .Net
You can try:

Code: Select all

winetricks -q --force dotnet462
yam000
Newbie
Newbie
Posts: 3
Joined: Thu Feb 18, 2021 3:39 am

Re: .NET 4.6.2 issues

Post by yam000 »

jkfloris wrote: Thu Feb 18, 2021 9:11 am The answer is in your terminal output:
Executing w_do_call remove_mono
...
warning: This package (dotnet45) is broken in wine-6.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
First, wintricks removes mono from the wineprefix, but fails to install .Net
You can try:

Code: Select all

winetricks -q --force dotnet462
I tried that (above) but to no avail, I guess I will just need to downgrade?
yam000
Newbie
Newbie
Posts: 3
Joined: Thu Feb 18, 2021 3:39 am

Re: .NET 4.6.2 issues

Post by yam000 »

jkfloris wrote: Thu Feb 18, 2021 9:11 am The answer is in your terminal output:
Executing w_do_call remove_mono
...
warning: This package (dotnet45) is broken in wine-6.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
First, wintricks removes mono from the wineprefix, but fails to install .Net
You can try:

Code: Select all

winetricks -q --force dotnet462
Ah wait, I see the issue, I think the `--force` was not included in the order that I originally executed it-- `winetricks -q dotnet462 --force`. Seems to install fine with `winetricks -q --force dotnet462`. Sorry!
Locked