我安装了Ubuntu 12桌面的新副本:
在终端中键入以下命令时:
sudo winetricks dotnet40我收到以下错误消息:
wine cmd.exe /c echo '%ProgramFiles%' returned empty string如果我尝试使用没有sudo的命令
winetricks dotnet40输出如下
Executing w_do_call dotnet40
Executing load_dotnet40
------------------------------------------------------
dotnet40 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing mkdir -p /home/vectoruser/.cache/winetricks/dotnet40
mkdir: cannot create directory `/home/vectoruser/.cache/winetricks/dotnet40': Permission denied
------------------------------------------------------
Note: command 'mkdir -p /home/vectoruser/.cache/winetricks/dotnet40' returned status 1. Aborting.
------------------------------------------------------我的当前用户是矢量图用户,用于登录到Ubuntu。
输出.
ls -ld /home/vectoruser /home/vectoruser/.cache /home/vectoruser/.cache/winetricks给予:
drwxr-xr-x 32 vectoruser vectoruser 4096 Aug 2 19:26 /home/vectoruser
drwx------ 19 vectoruser vectoruser 4096 Aug 2 19:25 /home/vectoruser/.cache
drwxr-xr-x 2 root root 4096 Aug 2 18:09 /home/vectoruser/.cache/winetricks发布于 2012-08-03 03:13:51
看起来Ubuntu软件中心安装了一个旧版本的葡萄酒,所以我所做的就是
所以下一次,我将始终为应用程序找到正式的存储库,并添加它们。
附注:Ubuntu软件中心是一个很好的开始,但它总是需要更新和一致,所以像我这样的新手不会很难尝试转移到这个美妙的O.S。
https://askubuntu.com/questions/171236
复制相似问题