无法在 Ubuntu 22.04 LTS 中安装 wine

无法在 Ubuntu 22.04 LTS 中安装 wine

我是 Linux 新手,正在尝试安装 wine,以便可以玩《炉石传说》。我遵循以下教程:https://linuxconfig.org/how-to-install-battle-net-on-ubuntu-22-04-linux-desktop

我运行winetricks,一切正常,直到第 3 步。然后,我收到一些错误,即使我按“确定”,它们也会不断重新出现并且没有其他事情发生 - 直到我停止终端。

下面你可以看到出现的两幅图像(位于步骤 3 和步骤 4 之间)

图片1

图片2

以下是发生错误时的终端粘贴:

guin0x@guin0x-server:~$ winetricks
Executing mkdir -p /home/guin0x
------------------------------------------------------
warning: 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.
------------------------------------------------------
Using winetricks 20210206 - sha256sum: 0f21da98811e0bfda16a7d6d6b8e860a9cedbd4e836c7dd9b02f068d3092ee2e with wine-6.0.3 (Ubuntu 6.0.3~repack-1) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.42.1
Executing w_do_call corefonts
Executing mkdir -p /home/guin0x
------------------------------------------------------
warning: 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.
------------------------------------------------------
Executing load_corefonts 
Executing w_do_call andale
Executing mkdir -p /home/guin0x
------------------------------------------------------
warning: 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.
------------------------------------------------------
Executing load_andale 
Executing cabextract -q -d /home/guin0x/.wine/dosdevices/c:/windows/temp /home/guin0x/.cache/winetricks/corefonts/andale32.exe
------------------------------------------------------
warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/guin0x/.wine terminate
------------------------------------------------------
Executing wine regedit C:\windows\Temp\_register-font.reg
Executing wine64 regedit C:\windows\Temp\_register-font.reg
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Executing cp /home/guin0x/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.WeeZhyWc/_reg_90ad6a9f_10400.reg
Executing wine regedit C:\windows\Temp\_register-font.reg
Executing wine64 regedit C:\windows\Temp\_register-font.reg
0120:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0120:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0118:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0118:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Executing cp /home/guin0x/.wine/dosdevices/c:/windows/temp/_register-font.reg /tmp/winetricks.WeeZhyWc/_reg_f6204652_10400.reg
Executing w_do_call arial
Executing mkdir -p /home/guin0x
------------------------------------------------------
warning: 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.

提前谢谢您!

答案1

你好,你能在终端中尝试这个命令吗

WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine wineboot

你试过这个吗

sudo apt-get install wine64

你也可以在lutris中安装Hearthstone,lutris也像wine一样。

sudo add-apt-repository ppa:lutris-team/lutris.
sudo apt update
sudo apt-get install lutris

我认为您最好的选择是尝试使用 Linux,很抱歉,但我认为这是您最好的选择。

答案2

我也是新手,我坐在这里努力让 Darklords 全屏运行...也许我误解了这个问题,但我的建议是你应该先安装 Wine,然后安装 PlayOnLinux,然后从最后一个安装/运行你的游戏。

答案3

我遇到了很多问题,然后发现这个组合很有效:

  1. sudo apt 安装 wine
  2. 命令
  3. sudo cp -R ~root/.wine ~myown用户名
  4. 光盘〜
  5. sudo chown -R myown用户名:myown用户名.wine
  6. wine 我想运行的程序

相关内容