Ubuntu – Wine-staging fails to install on 18.04

18.04dependencieswine

I'm trying to run games through Lutris and followed their wiki on installing wine-staging.

When running:

$ sudo apt install --install-recommends winehq-staging

I get the error they predict, but then when running:

$ sudo apt install --install-recommends winehq-staging wine-staging wine-staging-i386

I still have the unmet dependencies error (output below).

Could anyone direct me to a solution?

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-staging : Depends: wine-staging-amd64 (= 4.13~bionic) but it is not going to be installed
 wine-staging-i386:i386 : Depends: libfaudio0:i386 but it is not installable
                          Recommends: libcairo2:i386 but it is not going to be installed
                          Recommends: libcapi20-3:i386 but it is not going to be installed
                          Recommends: libcups2:i386 but it is not going to be installed
                          Recommends: libglu1-mesa:i386 but it is not going to be installed or
                                      libglu1:i386
                          Recommends: libgsm1:i386 but it is not going to be installed
                          Recommends: libgssapi-krb5-2:i386 but it is not going to be installed
                          Recommends: libgtk-3-0:i386 but it is not going to be installed
                          Recommends: libkrb5-3:i386 but it is not going to be installed
                          Recommends: libodbc1:i386 but it is not going to be installed
                          Recommends: libosmesa6:i386 but it is not going to be installed
                          Recommends: libpcap0.8:i386 but it is not going to be installed
                          Recommends: libsane:i386 or
                                  libsane1:i386 but it is not going to be installed
                          Recommends: libv4l-0:i386 but it is not going to be installed
                          Recommends: libva-drm2:i386 but it is not going to be installed or
                                      libva-drm1:i386 but it is not installable
                          Recommends: libva-x11-2:i386 but it is not going to be installed or
                                      libva-x11-1:i386 but it is not installable
                          Recommends: libva2:i386 but it is not going to be installed or
                                      libva1:i386 but it is not installable
                          Recommends: libxcomposite1:i386 but it is not going to be installed
                          Recommends: libxslt1.1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Best Answer

I followed the instructions found here to download the missing libfaudio:i386.

Ubuntu 18.04:

wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key

sudo apt-key add Release.key

Add the repository:

sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'

Then update:

sudo apt update