Noob unable to install Wine on Ubuntu 18.04

Questions about Wine on Linux
Locked
k31thw
Newbie
Newbie
Posts: 3
Joined: Thu Mar 12, 2020 4:13 pm

Noob unable to install Wine on Ubuntu 18.04

Post by k31thw »

Just wonder whether anyone can shed any light on my problem.

As a new convert to Linux I have found one or two Windows programs to be irreplaceable. No problem I thought, I'll install Wine. So I copied, pasted and ran the commands as per this site:

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt install --install-recommends winehq-stable

But following that final command, I get this message:

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 (= 5.0.0~bionic)
E: Unable to correct problems, you have held broken packages.


Any idea as to what I might have done wrong? All assistance will be gratefully received

Thanks

Keith
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Noob unable to install Wine on Ubuntu 18.04

Post by dimesio »

You probably neglected to install FAudio. viewtopic.php?f=8&t=32192
k31thw
Newbie
Newbie
Posts: 3
Joined: Thu Mar 12, 2020 4:13 pm

Re: Noob unable to install Wine on Ubuntu 18.04

Post by k31thw »

Thanks @dimesio for your swift response. And you are quite correct, I haven't installed FAudio, I completely missed the reference to it despite it being in bold with a warning icon :oops:

Having followed the link you provided, I am sorry to say that I am none the wiser as to what to do next. I followed the link to the opensuse page but had no idea what to do with the list of files. I then noticed that further down you had listed some commands. So I followed these. I downloaded the key and installed it OK. But when I ran:

sudo apt-add-repository 'deb https://download.opensuse.org/repositor ... ntu_18.04/ ./'

I got this:

E: Malformed entry 57 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

Apologies, having just transferred from the Windows world, I am embarrassed to admit that I need a bit of hand holding.

Thanks again

Keith
jerryh
Newbie
Newbie
Posts: 4
Joined: Mon Mar 09, 2020 11:12 am

Re: Noob unable to install Wine on Ubuntu 18.04

Post by jerryh »

Hi Keith
I had a similar problem, this works in Mint.
Don't think you need to add the opensuse repository
just go https://download.opensuse.org/repositor ... ntu_18.04/
and under i386 click on the libfaudio0 package and the package manager should offer to install.

If your using x64 repeat for the amd64 folder.

Not sure if its required but I would recommend removing existing wine install first before re-installing Wine.
I hope that helps
Jerry
k31thw
Newbie
Newbie
Posts: 3
Joined: Thu Mar 12, 2020 4:13 pm

Re: Noob unable to install Wine on Ubuntu 18.04

Post by k31thw »

Thanks Jerry, unfortunately when I tried to install libfaudio0_19.07-0~bionic_i386.deb I got the following:

failed to get updates for refresh: E: Malformed entry 57 in list file /etc/apt/sources.list (Component)

So basically the same as before. However, I didn't remove anything from the previous attempt at installing as I don't have the first clue as to what I would need to do. As I said, all a bit embarrassing

Keith
Locked