• We did not send an email asking for donations - please read this post.

Unmet dependencies while installing wine.

syphoonfi

New Member
Joined
Jan 16, 2021
Messages
3
Reaction score
0
Credits
53
Hello,
I am trying to install wine for the Ubuntu 20.04 that I am using via the guidelines provided by the wine website.

These are the steps I have made:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'

And now the last command in the process seems to have an issue that I have not been able to figure out.
The command:
sudo apt install --install-recommends winehq-stable

After I insert this command I get this:
"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 (= 6.0.0~groovy-1)
E: Unable to correct problems, you have held broken packages."

How do I solve this?
 


Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,106
Reaction score
4,299
Credits
30,032
G'day and Welcome to Linux.org

Try THIS
 
OP
S

syphoonfi

New Member
Joined
Jan 16, 2021
Messages
3
Reaction score
0
Credits
53
G'day and Welcome to Linux.org

Try THIS
I tried to reinstall the Wine via the tutorial you sent, it worked, thank you!
Although now I have a new problem, I am not able to run Lutris for some reason.
I followed the installation process on their website and everything seemed to run smoothly.
But when I try to open the app via the search bar, it does not open anything.
What to do?
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,776
Reaction score
6,601
Credits
28,585

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
7,310
Reaction score
6,312
Credits
59,239
I don't know anything about wine (unless it's the kind you drink).

I did notice that OP said they were on 20.04 and that the repo they added is for groovy.

20.04 is focal.

I have zero idea if that matters in this case. I'm merely pointing it out.
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,106
Reaction score
4,299
Credits
30,032

erikleth

New Member
Joined
Jan 19, 2022
Messages
1
Reaction score
0
Credits
10
Hi
I hat same problem installing winehq on Debian 10
!!!The trouble is: libfaudio0 is not included in Debian 10 and later.

To solve it include Debian backports in sources.list, and try again. :cool:

Problem:
The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 6.0.0~groovy-1)
E: Unable to correct problems, you have held broken packages."

They need to fix the instructions, it was hard to figure out,
I think all there wants to install WINE on Debian or Ubuntu have this problem.
 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,260
Reaction score
1,043
Credits
9,038
Yep, the problem seems to exist on all Debian and ubuntu derivites when trying to install wine via the WineHQ instructions.
Another possibility is to install Playonlinux Which allows you to install many versions of wine from it's tool menu. It has worked well for me. Also It allow installing different versions of wine at the same time and select the one that works best with the program your trying to run. Playonlinux info. I'm not familiar with lutris so can not comment on that program.
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,891
Reaction score
1,302
Credits
14,070
How to Install WINE 7.0 stable from the terminal on Ubuntu 20.04 or an Ubuntu based OS
If your system is 64 bit, you first need to enable the 32 bit architecture - run

Code:
sudo dpkg --add-architecture i386

Download the official Wine repository key and add it:

Code:
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Now use this command to add repository:

Code:
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ focal main"

Now that you have added the correct repository, you can install Wine 7.0 using this command:

Code:
sudo apt update

Code:
sudo apt install --install-recommends winehq-stable


After it has finished installing we need to configure WINE - run -

Code:
winecfg

This will install Wine Grecko and Wine Mono after this is done you are now finished with the
installation. Only one last thing to do you will need to associate the ".exe" file extension to the WINE installer - simply right click the ".exe" file and select Properties, now select the "Open With" drop down tab and select "Wine Windows Program Loader"
 
Last edited:

Pxmpkeen

New Member
Joined
Feb 7, 2022
Messages
1
Reaction score
0
Credits
8
I know you solved your problem, but i had the same problem and i hope my answer will help someone: change your downloading server (in "Software and Updates") to global. I am from little country (Azerbaijan) and I had a lot of dependencies only because of this. (I'm a beginner in Linux so i don't know why a lot of dependencies occur because of it)
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top