winehq help

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
marsh20
Level 4
Level 4
Posts: 217
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

winehq help

Post by marsh20 »

when running this command:
sudo apt install --install-recommends winehq-stable

this was the result:

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 help on how to fix this would be appriciated
Think about the "undo" before you "do".

User avatar
kc1di
Level 15
Level 15
Posts: 5852
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: winehq help

Post by kc1di »

First get rid of all winehq repositories you've added. The run this command

Code: Select all

sudo apt purge wine-stable
When that's done run

Code: Select all

sudo apt update
and install wine with this command.

Code: Select all

sudo apt install --install-recommends wine-installer
You need to make sure any added wine repositories are removed before trying to reinstall wine. Good luck.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

marsh20
Level 4
Level 4
Posts: 217
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

Re: winehq help

Post by marsh20 »

Hiya,

Tried that and got the below back. Must be doing something wrong.


leReading 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.
Think about the "undo" before you "do".

User avatar
Flemur
Level 17
Level 17
Posts: 7937
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: winehq help

Post by Flemur »

marsh20 wrote:
Thu Mar 26, 2020 10:22 am
Hiya,
Tried that and got the below back. Must be doing something wrong.
You need to remove the wine repos you added:
viewtopic.php?f=90&t=314921
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

marsh20
Level 4
Level 4
Posts: 217
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

Re: winehq help

Post by marsh20 »

this was the next command i need to type in from https://wiki.winehq.org/Ubuntu

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

and got this

WARNING:root:could not open file '/etc/apt/sources.list'

plz help
Think about the "undo" before you "do".

User avatar
Flemur
Level 17
Level 17
Posts: 7937
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: winehq help

Post by Flemur »

marsh20 wrote:
Thu Mar 26, 2020 10:34 am
this was the next command i need to type in from https://wiki.winehq.org/Ubuntu
If you're using Mint 19.0,1,2,3 (are you?), use the instructions at the link I posted.
WARNING:root:could not open file '/etc/apt/sources.list'
See if that files exists:

Code: Select all

$ ls -l /etc/apt/sources.list
-rw-rw-r-- 1 root root 3045 Feb 14 17:23 /etc/apt/sources.list
If it says No such file or directory ... I'm not sure what you should do! **

** Edit: if it's not there, do this:

Code: Select all

sudo cp /etc/apt/sources.list.save /etc/apt/sources.list
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

ParaDice
Level 3
Level 3
Posts: 133
Joined: Sat Aug 27, 2016 6:38 am

Re: winehq help

Post by ParaDice »

The problem is an unresolved wine dependency on FAudio.
Winehq actually tells you that on the download page (although I must admit I overlooked it in the past as well).
Ubuntu 18.04/Linux Mint 19.x do not provide FAudio, which is a dependency of current Wine. Follow the instructions in https://forum.winehq.org/viewtopic.php?f=8&t=32192 to install FAudio from the OBS. (FAudio packages for Ubuntu 19.10 and later are in the distro's universe repository.)

https://wiki.winehq.org/Ubuntu
You want to add the repository as described by the user dimesio, update your sources and try again. Then winehq will install without any problem.
To get help, always post your system configuration: open a terminal (Ctrl + Alt + T), type the following command and copy its output:

Code: Select all

inxi -Fxz

User avatar
Flemur
Level 17
Level 17
Posts: 7937
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: winehq help

Post by Flemur »

ParaDice wrote:
Thu Mar 26, 2020 1:04 pm
The problem is an unresolved wine dependency on FAudio.
The problem is using the wine HQ instructions, when we have
"How to install Wine on Mint 19 / 19.1 / 19.2 / 19.3"
viewtopic.php?p=1780870#p1780870

Everyone should do it the easy way (that link ^^^), unless they're past the "Newbie" stage and have good reason to install wine 5. instead of wine 4.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

ParaDice
Level 3
Level 3
Posts: 133
Joined: Sat Aug 27, 2016 6:38 am

Re: winehq help

Post by ParaDice »

Flemur wrote:
Thu Mar 26, 2020 1:22 pm

The problem is using the wine HQ instructions, when we have
"How to install Wine on Mint 19 / 19.1 / 19.2 / 19.3"
viewtopic.php?p=1780870#p1780870

Everyone should do it the easy way (that link ^^^), unless they're past the "Newbie" stage and have good reason to install wine 5. instead of wine 4.
Agreed, but since the OP is talking about winehq specifically (and not the wine version from the repos), shouldn't we assume that winehq wine is precisely what he wants? ;)
To get help, always post your system configuration: open a terminal (Ctrl + Alt + T), type the following command and copy its output:

Code: Select all

inxi -Fxz

User avatar
Flemur
Level 17
Level 17
Posts: 7937
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: winehq help

Post by Flemur »

ParaDice wrote:
Thu Mar 26, 2020 1:41 pm
Agreed, but since the OP is talking about winehq specifically (and not the wine version from the repos), shouldn't we assume that winehq wine is precisely what he wants? ;)
No. It's in "Newbie Questions". He probably did an internet search and found the wrong directions, and that's why he's already having problems.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
kc1di
Level 15
Level 15
Posts: 5852
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: winehq help

Post by kc1di »

If he would have asked first wine would have been up and running already -- Those instructions at WineHQ are not newbie friendly.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

User avatar
pbear
Level 11
Level 11
Posts: 3897
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: winehq help

Post by pbear »

marsh20 wrote:
Thu Mar 26, 2020 10:34 am
plz help
Did you set up Timeshift? If so, roll back to before you started all this, then start over using ONLY the command given in your first post.

To give you an idea, this is what you have to do to follow the WineHQ instructions for bionic at this point. Very unlikely you actually need 5.0 anyway. Use the standard Mint instructions. Gets you 4.0, which is fine for most purposes.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Post Reply

Return to “Newbie Questions”