Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何安装或重新尝试在纯净的32位WINEPREFIX环境下运行WINETRICKS-ZH #170

Open
isaac574 opened this issue Nov 11, 2020 · 8 comments

Comments

@isaac574
Copy link

你好,下载了更新winetricks-zh文件,重新运行,
报错如下:

isaacsheng@pop-os:~/下载/winetricks-zh-20200421.3$ winetricks-zh
Executing mkdir -p /home/isaacsheng

You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.


WINEPREFIX INFO:
Drive C: 总用量 28
drwxrwxr-x 7 isaacsheng isaacsheng 4096 11月 10 15:56 .
drwxrwxr-x 4 isaacsheng isaacsheng 4096 11月 10 21:45 ..
drwxrwxr-x 3 isaacsheng isaacsheng 4096 11月 10 15:42 ProgramData
drwxrwxr-x 6 isaacsheng isaacsheng 4096 11月 10 15:42 Program Files
drwxrwxr-x 7 isaacsheng isaacsheng 4096 11月 10 16:35 Program Files (x86)
drwxrwxr-x 4 isaacsheng isaacsheng 4096 11月 10 15:42 users
drwxrwxr-x 18 isaacsheng isaacsheng 4096 11月 10 21:45 windows

Registry info:
/home/isaacsheng/.wine/system.reg:#arch=win64
/home/isaacsheng/.wine/user.reg:#arch=win64
/home/isaacsheng/.wine/userdef.reg:#arch=win64


wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: WINEARCH set to win32 but '/home/isaacsheng/.wine' is a 64-bit installation."

@SamLukeYes
Copy link

SamLukeYes commented Nov 11, 2020

如果要将默认的 wine 环境重置为 32 位,可以运行:

$ rm -rf ~/.wine
$ WINEARCH=win32 winetricks-zh

@hillwoodroc
Copy link
Owner

winetricks-zh arch=32

@Hujun574
Copy link

谢了,二位。

@isaac574
Copy link
Author

涛身依旧,也是服了!
isaacsheng@pop-os:~$ rm -rf /.wine
isaacsheng@pop-os:
$ WINEARCH=win32 winetricks-zh
Executing mkdir -p /home/isaacsheng
Using winetricks 20200412-next - sha256sum: 33511e5ad9d909ea84cbca77fcfe5813fdaef2ac20645a089fc5e8a6f75eb44d with wine-5.0.2 and WINEARCH=win32
winetricks GUI enabled, using zenity 3.32.0
Executing w_do_call wechat
Executing mkdir -p /home/isaacsheng
Executing load_wechat

绕过 wine bug 38038 -- Installing native riched20 to work around typing bug

Executing w_do_call riched20
Executing mkdir -p /home/isaacsheng
Executing load_riched20
Executing cd /home/isaacsheng/.cache/winetricks/win2ksp4
Downloading https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/isaacsheng/.cache/winetricks/win2ksp4
Executing cd /home/isaacsheng

sha256sum mismatch! Rename /home/isaacsheng/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE and try again.

@isaac574
Copy link
Author

误打误撞,依然出错连连如下:
isaacsheng@pop-os:~/ubuntu18-deepwine-wechat$ sudo dpkg -i --force-overwrite deepin.com.wechat_2.6.2.31deepin0_i386.deb
dpkg: 警告: 即将把 deepin.com.wechat:i386 从 2.6.8.65deepin0 降级到 2.6.2.31deepin0
(正在读取数据库 ... 系统当前共安装有 233840 个文件和目录。)
准备解压 deepin.com.wechat_2.6.2.31deepin0_i386.deb ...
正在解压 deepin.com.wechat:i386 (2.6.2.31deepin0) 并覆盖 (2.6.8.65deepin0) ...
dpkg: 依赖关系问题使得 deepin.com.wechat:i386 的配置工作不能继续:
deepin.com.wechat:i386 依赖于 deepin-wine-helper (>= 1.1deepin3);然而:
软件包 deepin-wine-helper:i386 尚未配置。

dpkg: 处理软件包 deepin.com.wechat:i386 (--install)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 gnome-menus (3.36.0-1ubuntu1) 的触发器 ...
正在处理用于 desktop-file-utils (0.24-1ubuntu4) 的触发器 ...
正在处理用于 mime-support (3.64ubuntu1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
在处理时有错误发生:
deepin.com.wechat:i386

不过居然成功了! 这真是UNTUBUN小白一通乱仗。 苦恼的是想要重新做一遍也难,因为用了数人的代码,不知插件或组件的依存关系。最后只好将网页加好书签。 多谢一路陪伴和指教,来日再见!祝各位安好!

@hillwoodroc
Copy link
Owner

涛身依旧,也是服了!

isaacsheng@pop-os:~$ rm -rf /.wine isaacsheng@pop-os:$ WINEARCH=win32 winetricks-zh
Executing mkdir -p /home/isaacsheng
Using winetricks 20200412-next - sha256sum: 33511e5ad9d909ea84cbca77fcfe5813fdaef2ac20645a089fc5e8a6f75eb44d with wine-5.0.2 and WINEARCH=win32
winetricks GUI enabled, using zenity 3.32.0
Executing w_do_call wechat
Executing mkdir -p /home/isaacsheng
Executing load_wechat

绕过 wine bug 38038 -- Installing native riched20 to work around typing bug

Executing w_do_call riched20

Executing mkdir -p /home/isaacsheng
Executing load_riched20
Executing cd /home/isaacsheng/.cache/winetricks/win2ksp4
Downloading https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE to /home/isaacsheng/.cache/winetricks/win2ksp4
Executing cd /home/isaacsheng

sha256sum mismatch! Rename /home/isaacsheng/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE and try again.

W2KSP4_EN.EXE 被下载网站移除了,你在另外的网站下载放到对应的目录就可以,这是临时的解决办法。

@isaac574
Copy link
Author

总算安装成功了,其中下载了2个EXE文件,容量挺大的。还有出错的提示,WECHAT勉强可以用,但不能发文件。不知为何?谢谢hillwoodroc.

@hillwoodroc
Copy link
Owner

现在我这里可以发送文件了。

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

No branches or pull requests

4 participants