我正在使用 Ubuntu 15.04 64 位,并安装了以下 wine 包 -
$ apt --installed list|grep wine
wine/vivid,now 1:1.6.2-0ubuntu8 amd64 [installed]
wine-gecko2.21/vivid,now 2.21-0ubuntu1 amd64 [installed,automatic]
wine-mono0.0.8/vivid,now 0.0.8-0ubuntu1 all [installed]
wine1.6/vivid,now 1:1.6.2-0ubuntu8 amd64 [installed,automatic]
wine1.6-amd64/vivid,now 1:1.6.2-0ubuntu8 amd64 [installed,automatic]
wine1.6-i386/vivid,now 1:1.6.2-0ubuntu8 i386 [installed,automatic]
winetricks/vivid,now 0.0+20140302-0ubuntu2 all [installed]
我想安装.NET 2.0(dotnet20
)。
因为我在 64 位机器上,所以我设置了 wineprefix 和环境,如下所示
$ export WINEPREFIX="/home/usr/.wineprefixes/office2010/" $ export WINEARCH="win32"
但是,安装 dotnet20 出现以下错误
$ 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 30845, so not applying workaround Executing wine dotnetfx.exe fixme:advapi:DecryptFileA ("C:\\users\\usr\\Temp\\IXP000.TMP\\", 00000000): stub err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:advapi:LsaOpenPolicy ((null),0x33f2e4,0x00000001,0x33f2d0) stub fixme:advapi:LsaClose (0xcafe) stub err:msidb:get_tablecolumns column 1 out of range err:msidb:get_tablecolumns column 2 out of range ------------------------------------------------------ Note: command 'wine dotnetfx.exe' returned status 84. Aborting. ------------------------------------------------------
Wine 安装程序在消息框中引用
Installation package could not be opened. Contact the application vendor to verify this is a valid Windows installer package
我尝试打开 winetricks GUI 并从那里安装(更改后的葡萄酒预定义已经被识别)。我也尝试过
env WINEARCH=win32 WINEPREFIX=/home/usr/.wineprefixes/office2010/ winetricks dotnet20
,但是得到了同样的错误。我也尝试过卸载
wine-mono
,然后安装 dotnet20,但无济于事。因此,我重新安装了 mono 包。
A线说从 PPA 安装 Wine1.7 是使它正常工作的一种方法。但是,由于这不是一个稳定的版本,我不想安装它。我可以dotnet20与...合作Wine1.6xx?
答案1
要解决此错误:
err:winediag:SECUR32_initNTLMSP ntlm_auth 未找到或已过时。
您需要安装winbind
:
sudo apt-get install winbind
此 Samba 软件包提供了一个守护进程,它集成了 Linux 系统上来自 Windows 域的身份验证和目录服务(用户/组查找)机制。
这可能会修复您的主要错误:
注意:命令“wine dotnetfx.exe”返回状态 84。正在中止。
因为.NET 确实需要一个有效的 ntlm_auth。
有关的: