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
3,966
Reaction score
3,565
Credits
20,321
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
6,864
Reaction score
5,652
Credits
21,481

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,557
Reaction score
4,221
Credits
36,567
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
3,966
Reaction score
3,565
Credits
20,321

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
608
Reaction score
549
Credits
4,268
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,170
Reaction score
787
Credits
8,660
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:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top