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?
 


G'day and Welcome to Linux.org

Try THIS
 
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?
 
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.
 
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.
 
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.
 
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 by a moderator:
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)
 

Members online


Top