无法安装 dotnet

无法安装 dotnet

每次我这样做

winetricks dotnet20

安装窗口出现,我点击下一步,然后它崩溃了。

终端显示的内容如下

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:

我应该怎么办?

答案1

你安装了吗两个版本葡萄酒 / 葡萄酒单声道?

我遇到了同样的问题,执行了以下步骤:

  1. 使用以下方法卸载以 wine 开头的所有以前的软件包

    sudo apt-get remove 'wine*'
    
  2. 使用以下方式添加 apt-repository

    sudo add-apt-repository ppa:ubuntu-wine/ppa
    
  3. 从存储库安装 Wine 1.7:

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

    现在运行命令:

    winetricks dotnet20
    

下载所需文件并正确安装。

答案2

安装 wine 1.7 后写入:

export WINEARCH=win32
export WINEPREFIX=~/.problematic
winecfg

说两次“是”。一切工作都结束了。

答案3

rm ~/.wine -rf && apt-get install mono-complete wine:i386 -y && winetricks dotnet20

你会看到。这在 ubuntu 14.04 amd64 上运行良好。

仅供参考,我只安装了

葡萄酒:i386

您可以在安装 wine:i386 之前执行此操作

 yes |  apt-get remove wine

答案4

尝试ntlm_auth通过以下方式安装:

sudo apt-get install winbind

因为.NET 确实需要一个有效的 ntlm_auth。

有关的:

相关内容