i am running Feren Os a branch of Ubuntu and I have a new problem while installing Winehq the system is up to date and all packages upgrade except for one .
$ 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
$ 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.
I have tried
$ 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.
CodePudding user response:
You have mixed Feren Os based on Ubuntu Focal with Ubuntu Hirsute leading to the unmet dependencies
error.
To fix this problem, you need to remove hirsute
from /etc/apt/sources.list
and the files under /etc/apt/sources.list.d/
dir.
To install winehq see the documentation and use the focal
codename.
If you have an issue with vkd3d
, it can be installed from Cybermax PPA..