无法使用 PlayOnLinux 在 Ubuntu 17.04 上安装 Microsoft Office 2010

无法使用 PlayOnLinux 在 Ubuntu 17.04 上安装 Microsoft Office 2010

我正在运行带有 Ubuntu 17.04 的 x86_64 桌面,并尝试安装 64 位 Microsoft Office 2010 Home and Student。当我尝试安装该程序时,出现以下错误

[POL_Wine] Message: Wine return: 0
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0xa33ca8, init_notify 0, handle 0x130e7d4): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
err:process:create_process L"C:\\users\\trenton\\Temp\\OWP6164.tmp\\setup.exe" not supported on this installation (x86_64 binary)
[POL_Wine] Error: Wine seems to have crashed
If your program is running, just ignore this message
[POL_Wine] Message: Wine return: 255
[POL_Wine_OverrideDLL] Message: Overriding DLLs
[POL_Wine] Message: Running wine-1.7.52 regedit /home/trenton/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/trenton/.PlayOnLinux/shortcuts)
[POL_Wine] Message: Wine return: 0
[POL_Call] Message: Calling POL_Install_msxml6
[POL_Call] Message: ----- Starting function POL_Install_msxml6 -----
[POL_GPG_auth_script] Message: Checking signature of POL_Install_msxml6
[POL_GPG_install_key] Message: Importing PlayOnLinux public key
[POL_Source] Message: POL GPG : Good signature
[POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi
[POL_SetupWindow_detect_exit] Warning: POL_SetupWindow_detect_exit is deprecated
cat: /home/trenton/.PlayOnLinux//configurations/guis/3754: No such file or directory
[POL_Call] Message: ----- Ending function POL_Install_msxml6 -----
[POL_Shortcut] Message: Looking for <WINWORD.EXE>, found <>
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
[POL_Shortcut] Error: Binary not found: WINWORD.EXE
Have you installed the program to the default location?
[POL_Shortcut] Message: Shortcut created:  Microsoft Word 2010
[POL_Shortcut] Message: Looking for <EXCEL.EXE>, found <>
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
[POL_Shortcut] Error: Binary not found: EXCEL.EXE
Have you installed the program to the default location?
[POL_Shortcut] Message: Shortcut created:  Microsoft Excel 2010
[POL_Shortcut] Message: Looking for <POWERPNT.EXE>, found <>
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
[POL_Shortcut] Error: Binary not found: POWERPNT.EXE
Have you installed the program to the default location?
[POL_Shortcut] Message: Shortcut created:  Microsoft Powerpoint 2010
[POL_Shortcut] Message: Looking for <ONENOTE.EXE>, found <>
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
[POL_Shortcut] Error: Binary not found: ONENOTE.EXE
Have you installed the program to the default location?
[POL_Shortcut] Message: Shortcut created:  Microsoft OneNote 2010
[POL_Shortcut] Message: Looking for <OUTLOOK.EXE>, found <>
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
wrestool: /home/trenton/.PlayOnLinux//wineprefix/Office2010/drive_c/./: Is a directory
icons-brut: premature end
[POL_Shortcut] Error: Binary not found: OUTLOOK.EXE
Have you installed the program to the default location?

如您所见,问题在于 wine 崩溃。我读到我需要安装 wine:i386,但当我尝试这样做时,我得到了以下输出。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine:i386 : Depends: wine64:i386 (>= 1.6.2-20) or
                      wine32:i386 (>= 1.6.2-20) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

当我尝试安装其中任何一个时,我得到以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'wine64' instead of 'wine64:i386'
wine64 is already the newest version (1.8.7-1ubuntu1).

wine32:i386 也一样。有什么方法可以防止它默认为 wine64/wine32 的 amd64 版本吗?

任何帮助将不胜感激。

答案1

我建议您安装 PlayOnLinux ( sudo apt-get install playonlinux),然后使用它来安装 Microsoft Office。PlayOnLinux 解决了您的问题,因为它允许您选择并安装多个版本的 Wine(x86 和 amd64),然后将它们用于不同的程序。

例如,在 PlayOnLinux 中,我安装了 Wine x86 版本 2.22、2.1 和 1.7.52。请参见此处:

PlayOnLinux 的截图

我在 PlayOnLinux 中安装了 5 个程序。目前它们都使用 Wine 2.22 版,但如果我想要/需要,我可以设置它们每个都使用不同的版本。

相关内容