Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

编译wxml文件错误,软件包 wine-binfmt 没有可安装候选 #101

Closed
YanYuanFE opened this issue Apr 18, 2018 · 6 comments
Closed

Comments

@YanYuanFE
Copy link

image
image

OS:Ubuntu16.04

@YanYuanFE
Copy link
Author

wine:3.6

@imknown
Copy link
Contributor

imknown commented Apr 18, 2018

@hefengly
Copy link

遇到这个问题了,有什么解决的办法吗

@hefengly
Copy link

linux 是16.04

@zgq354
Copy link

zgq354 commented Apr 19, 2018

我的系统是 Ubuntu 16.04 LTS,同样也遇到了这个问题,以下是我整理出来的解决问题的过程:

参考这个 Adding binfmt configuration to official Wine packages,手动添加一个解析 Windows 的 exe 的 binfmt 配置

vim /usr/share/binfmts/wine

内容填入

package wine
interpreter /usr/bin/wine
magic MZ

保存退出,更新一下配置就好了

sudo update-binfmts --import wine

@cauu
Copy link

cauu commented Apr 28, 2018

Ubuntu14.04提示找不到update-binfmts
需要先执行:

sudo apt-get install binfmt-support

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants