I have been trying to install winehq-staging (to use with lutris) on Ubuntu 18.04.
I followed the standard steps, but always end up with:
sudo apt install --install-recommends winehq-staging
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-staging : Depends: wine-staging (= 5.10~focal)
E: Unable to correct problems, you have held broken packages.
I have no idea how to fix this error, because it does not tell me which dependencies are actually missing!
What can I do to succesfully install winehq-staging?
Edit:
I tried both the options commented by @N0rbert and @bhordupur, but both did not work to solve my issues. I get the exact same error message. I did, however, also run sudo apt-get install wine-stable-amd64 to figure out which packages are missing, which gave the following output:
sudo apt-get install wine-stable-amd64
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:
wine-stable-amd64 : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libvkd3d1 (>= 1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Does anyone know what this output means precisely? It reads like I might be unable to install these dependencies in order to get winehq-stable to work?