我想在全新的 Debian 10.5 系统上使用 wine5,
我按照这里的说明进行操作https://wiki.winehq.org/Debian,
sudo dpkg --add-architecture i386;
wget -nc https://dl.winehq.org/wine-builds/winehq.key -O- | sudo apt-key add - ;
printf "\n#wine\ndeb https://dl.winehq.org/wine-builds/debian/ buster main\n" | sudo tee -a /etc/apt/sources.list ;
sudo apt update;
没有错误,一切顺利,
然后最后一步:
root@debgamer:/home/hans# sudo apt install --install-recommends winehq-stable;
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:
winehq-stable : Depends: wine-stable (= 5.0.1~buster)
E: Unable to correct problems, you have held broken packages.
root@debgamer:/home/hans#
怎么办?
以防万一
root@debgamer:/home/hans# apt policy winehq-stable
winehq-stable:
Installed: (none)
Candidate: 5.0.1~buster
Version table:
5.0.1~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
5.0.0~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
4.0.4~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
4.0.3~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
4.0.2~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
4.0.1~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
4.0~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.5~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.4~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.3~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.2~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.1~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
3.0.0~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
2.0.4~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
2.0.3~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
2.0.2~buster 500
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
说 5.0.1 可用(甚至说它是首选版本,似乎)
答案1
引用你的关联:
Debian 10 及更高版本的 WineHQ 软件包需要 libfaudio0 作为依赖项。由于发行版不为 Debian 10 提供它,因此该版本的用户可以从 OBS 下载 libfaudio0 软件包。请参阅https://forum.winehq.org/viewtopic.php?f=8&t=32192了解详情。
Libfaudio0 可能是您所缺少的依赖项。