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?
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
– bhordupur Jun 07 '20 at 12:52https://paste.centos.org/view/ca336870
– bhordupur Jun 07 '20 at 13:05sudo apt-get update
Install libvkd3d1 deb package:
sudo apt-get install libvkd3d1`
What happens when you try to install the above pck?
– bhordupur Jun 07 '20 at 18:21E: Package 'libvkd3d1' has no installation candidate
. If I rungcc -v
, it tells me thatgcc version 9.2.0 (GCC)
. – Grim Reaper Jun 07 '20 at 18:39