Unable to install

Questions about Wine on Linux
Locked
carroto
Newbie
Newbie
Posts: 3
Joined: Mon Jan 20, 2020 9:15 pm

Unable to install

Post by carroto »

Following the directions here: https://wiki.winehq.org/Ubuntu to install on KUbuntu 18.04. It all goes fine until I do:

sudo apt install --install-recommends winehq-stable

I get this:

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 : Depends: wine-stable-amd64 (= 4.0.3~bionic) but it is not going to be installed
Depends: wine-stable-i386 (= 4.0.3~bionic)
E: Unable to correct problems, you have held broken packages.

When I install wine-staging-amd64 manually it goes okay, but wine-staging-i386 does not. So I tried this:

sudo aptitude why-not --with-recommends wine-stable-i386:i386

Not currently installed
The candidate version 4.0.3~bionic has priority optional
No dependencies require to remove wine-stable-i386:i386

I don't know where to go from here. Any help is appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to install

Post by dimesio »

carroto
Newbie
Newbie
Posts: 3
Joined: Mon Jan 20, 2020 9:15 pm

Re: Unable to install

Post by carroto »

Thank you, I saw that. I just don't know how to do that. I did try and got a couple levels deep. I ended up here:

sudo apt install wine-stable-i386
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-i386:i386 : Depends: libfaudio0:i386 but it is not installable
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: 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: libsane:i386 or
libsane1:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 but it is not going to be installed
Recommends: libxcursor1:i386 but it is not going to be installed
Recommends: libxi6:i386 but it is not going to be installed
Recommends: libxinerama1:i386 but it is not going to be installed
Recommends: libxrandr2:i386 but it is not going to be installed
Recommends: libxrender1: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.

I really wanted to make this work. I went as far as re-installing KUbuntu 18.04 today just in case I'd done something to my system that was causing the problem. Are you telling me that a fresh install of the latest Ubuntu can't install the current wine-stable? And there are no instructions on how to make it work for people like me who don't know how to do things like "find an i386 package whose version exactly matches the one already installed."?

I'm reaching end-of-life on a game I really enjoy playing. My hope is that the latest wine would allow me to continue playing. At this point I just don't know what to do other than walk away. I've tried everything I can think of.
carroto
Newbie
Newbie
Posts: 3
Joined: Mon Jan 20, 2020 9:15 pm

Re: Unable to install

Post by carroto »

Okay I got it working. Looks like it was an issue of bad timing. When I looked, the site said that winehq-stable was 4.0x, and the instructions said that I only need to install the custom FAudio packages for 4.5 and above, so I thought I didn't need those. But apparently I caught it on the same day that version 5.0 was released, so it was required after all. Installing the custom FAudio packages allowed me to get it installed.
Locked