我正在運行 Feren Os Ubuntu 的一個分支,在安裝 Winehq 時遇到了一個新問題,系統是最新的,所有軟體包都升級了,除了一個。
$ sudo apt list --upgradable
Listing... Done
vkd3d-compiler/hirsute 1.2~hirsute-1 i386 [upgradable from: 1.2~focal-1]
N: There is 1 additional version. Please use the '-a' switch to see it
系統資訊 wine 問題
$ 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 (= 6.0.2~hirsute-1)
E: Unable to correct problems, you have held broken packages.
我試過了
$ sudo dpkg --force depends -P wine-stable
dpkg: warning: ignoring request to remove wine-stable which isn't installed
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
uj5u.com熱心網友回復:
您將基于 Ubuntu Focal 的 Feren Os 與 Ubuntu Hirsute 混合使用,導致了unmet dependencies錯誤。
為了解決這個問題,你需要洗掉hirsute從/etc/apt/sources.list和下的檔案/etc/apt/sources.list.d/目錄。
要安裝 winehq,請參閱檔案并使用focal代號。
如果您遇到問題vkd3d,可以從Cyber??max PPA安裝它。
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/370501.html
