Ubuntu – Can’t install dotnet

dotnetmicrosoftwine

Every time I do

winetricks dotnet20

The install window comes up, I hit next, and then it crashes.

Here's what the terminal says

l@l-Aspire-5515:~$ winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
Current wine does not have wine bug 10467, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
Executing wine dotnetfx.exe
fixme:advapi:DecryptFileA "C:\\users\\l\\Temp\\IXP000.TMP\\" 00000000
fixme:advapi:LsaOpenPolicy ((null),0x33f31c,0x00000001,0x33f344) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:storage:create_storagefile Storage share mode not implemented.
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x451d7c
------------------------------------------------------
Note: command 'wine dotnetfx.exe' returned status 5.  Aborting.
------------------------------------------------------
l@l-Aspire-5515:

What should I do?

Best Answer

  • Did you Install two versions of wine/wine-mono?

    I've had the same problem, did the following steps:

    1. Uninstall all previous packages starting with wine using

      sudo apt-get remove 'wine*'
      
    2. Add apt-repository using

      sudo add-apt-repository ppa:ubuntu-wine/ppa
      
    3. Install Wine 1.7 from repository:

      sudo apt-get update && sudo apt-get install wine1.7
      

      Now run the command:

      winetricks dotnet20
      

    To download required file and install it correctly.

  • Related Question