error: wine-mono is not installed (in fact it is)

Questions about Wine on Linux
Locked
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

error: wine-mono is not installed (in fact it is)

Post by electricnight »

i decided to go with a fresh install of winetricks 20201206 (incl. wine), wine-mono 5.1.1 and wine-gecko 2.47.

next i created a fresh 64bit prefix: $ WINEPREFIX=~/.wine winecfg

wine64 uninstaller lists:

wine gecko (32)
wine gecko (64)
wine mono windows support

now when running a dotnet based program, mono seems to be missing?

Code: Select all

0064:err:ole:start_rpcss Failed to start RpcSs service
0024:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0" not implemented
0024:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0" not implemented
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
i usually only ever installed winetricks - gecko and mono would have been downloaded automatically upon creating a prefix for wine. by doing so, gecko and mono would of course not be listed as installed programs via the package manager (pacman).

this time, i wanted to try out this alternative approach. obviously i am missing something?
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

Re: error: wine-mono is not installed (in fact it is)

Post by electricnight »

nevermind, seems like installing wine-mono only downloads wine-mono-5.1.1-x86.msi?

https://archlinux.org/packages/communit ... ono/files/
https://github.com/archlinux/svntogit-c ... k/PKGBUILD

on the other hand, wine-gecko installs 32bit and 64bit versions, though?

https://archlinux.org/packages/communit ... cko/files/
https://github.com/archlinux/svntogit-c ... k/PKGBUILD

time to go back to variant a (install winetricks only), i guess :)
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: error: wine-mono is not installed (in fact it is)

Post by dimesio »

Wine-mono is architecture independent, and the distro package you linked to is correctly "Architecture: any" (https://archlinux.org/packages/community/any/wine-mono/).
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

Re: error: wine-mono is not installed (in fact it is)

Post by electricnight »

i know too little about mono, so please bear with me.

over at https://dl.winehq.org/wine/wine-mono/5.1.1/, unlike wine-gecko, there is only wine-mono-5.1.1-x86.msi (no x86_64 version) avaible for download.

is this version (which is part of the pacman mono installation) supposed to run in a 64bit prefix without problems then?

on the other hand, which mono version is automatically fetched by wine, when wine-mono is missing system-wide? i am asking, because i did not face this issue with a winetricks-only installation before.

in this case, does there even exist an unofficial 64bit msi for download?

i am confused :)
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: error: wine-mono is not installed (in fact it is)

Post by dimesio »

electricnight wrote: Sun Jan 03, 2021 9:27 am is this version (which is part of the pacman mono installation) supposed to run in a 64bit prefix without problems then?
Theoretically, yes. In practice, there are still lots of bugs.
on the other hand, which mono version is automatically fetched by wine, when wine-mono is missing system-wide?
The same .msi package you linked to. And for the record, that's exactly the same package that winetricks fetches.
in this case, does there even exist an unofficial 64bit msi for download?
Not that I know of, and there's no reason for one.

I think you are confusing the "x86" in the filename with the "i386" designation typically used in Linux package names. The former just means it's "compatible with the Intel 8086 and its successors"--in other words, not ARM.
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

Re: error: wine-mono is not installed (in fact it is)

Post by electricnight »

thanks for clarifying.

so, in this case (installing wine-mono via pacman), there is something going wrong, perhaps a bug?
madewokherd
Level 4
Level 4
Posts: 143
Joined: Mon Jun 02, 2008 5:03 pm

Re: error: wine-mono is not installed (in fact it is)

Post by madewokherd »

What version of Wine do you have? The corresponding wine-mono version required can be found in this table: https://wiki.winehq.org/Mono#Versions

I'm guessing pacman has the wrong one for the Wine version you have installed.
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

Re: error: wine-mono is not installed (in fact it is)

Post by electricnight »

i forgot about that, sorry. it is a rolling 5.22-1 ;)

https://archlinux.org/packages/multilib/x86_64/wine/
electricnight
Level 2
Level 2
Posts: 40
Joined: Tue Jun 06, 2017 5:26 am

Re: error: wine-mono is not installed (in fact it is)

Post by electricnight »

i finally found the cause.

winecfg's drives tab was missing the default /root (z:) drive, for whatever reason.

after readding it, all is working as expected.

thanks a lot for your helping hands.
Locked