我尝试在 ubuntu 中安装稳定版 wine。当我运行命令时,wine -version
它在终端中显示了以下错误:
imon@imon-hp-probook-4410s:~$ wine –version
wine: created the configuration directory '/home/imon/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/imon/.wine" has been updated.
0009:err:module:__wine_process_init L"C:\\windows\\system32\\\2013version.exe" not found
imon@imon-hp-probook-4410s:~$ wine –version
0009:err:module:__wine_process_init L"C:\\windows\\system32\\\2013version.exe" not found
imon@imon-hp-probook-4410s:~$ wine -version
0009:err:module:__wine_process_init L"C:\\windows\\system32\\-version.exe" not found
我还附上了安装过程的完整日志和之后尝试的命令(安装日志本身有数百行长,没有错误): Wine 安装错误
问题似乎是什么?错误说明了什么?
答案1
看起来这些不是安装后的错误,而更像是命令输入错误。是的,运行时前几个日志可能有点令人困惑wine -version
,但它们实际上与您的命令没有直接关系,而是解决新安装的 Wine 程序的初始配置设置及其错误。
即使您尝试运行内置system32
程序(如notepad.exe
或 ) ,也可能会发生这些情况ping.exe
。
请注意再次尝试执行命令时收到的错误输出wine -version
:
imon@imon-hp-probook-4410s:~$ wine –version
0009:err:module:__wine_process_init L"C:\\windows\\system32\\\2013version.exe" not found
imon@imon-hp-probook-4410s:~$ wine -version
0009:err:module:__wine_process_init L"C:\\windows\\system32\\-version.exe" not found
Wine 正在尝试查找名为 的程序-version.exe
,这是由于您输入了错误的语法。
来自葡萄酒手册页:
Name
wine - run Windows programs on Unix
Synopsis
wine program [arguments ... ]
wine --help
wine --version
For instructions on passing arguments to Windows programs, please see the PROGRAM/ARGUMENTS section of the man page.
Wine 仅接受两种类型的输入结构:程序名称以及可选参数,或者内部酒旗以--
字符串开头:--help
和--version
。
总而言之:如果您想检查您的 wine 版本,请使用wine --version
。