6.0 Unmet dependencies [NOT RESOLVED ELSEWHERE] Ubuntu 20.04

Questions about Wine on Linux
Locked
spaycenerd
Newbie
Newbie
Posts: 1
Joined: Mon Jan 18, 2021 12:24 am

6.0 Unmet dependencies [NOT RESOLVED ELSEWHERE] Ubuntu 20.04

Post by spaycenerd »

My info:

Code: Select all

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
Repeating what other posts suggested:

Code: Select all

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

sudo apt remove wine winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'wine' is not installed, so not removed
Package 'winehq-stable' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Starting install of Wine 6.0

Code: Select all

sudo dpkg --add-architecture i386

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.

Code: Select all

sudo apt-key add winehq.key
OK

Code: Select all

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://repo.mysql.com/apt/ubuntu focal InRelease                                                                                               
Hit:3 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                    
Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease                                                                                            
Hit:5 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                                                                                       
Hit:6 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease                                                                                     
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                     
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]     
Hit:9 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease                        
Get:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]             
Hit:11 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease   
Hit:12 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease
Fetched 324 kB in 2s (160 kB/s)
Reading package lists... Done

Code: Select all

sudo apt update
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                         
Hit:3 http://repo.mysql.com/apt/ubuntu focal InRelease                                                                                               
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                                                                                       
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease                                                                                            
Hit:6 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease                                                              
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                   
Hit:8 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease                                                           
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]      
Get:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]                                       
Hit:11 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease                                    
Hit:12 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease         
Fetched 324 kB in 2s (162 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Not sure why Wine for Focal depends on Wine for Groovy

Code: Select all

sudo apt install --install-recommends winehq-stable
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 (= 6.0.0~groovy-1)
E: Unable to correct problems, you have held broken packages.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: 6.0 Unmet dependencies [NOT RESOLVED ELSEWHERE] Ubuntu 20.04

Post by dimesio »

spaycenerd wrote: Mon Jan 18, 2021 12:35 am Not sure why Wine for Focal depends on Wine for Groovy
it doesn't and I don't know why you added it to your /etc/apt/sources.list. If you're on focal, remove groovy from your /etc/apt/sources.list.
gveneven
Newbie
Newbie
Posts: 1
Joined: Mon Mar 08, 2021 12:09 pm

Re: 6.0 Unmet dependencies [NOT RESOLVED ELSEWHERE] Ubuntu 20.04

Post by gveneven »

I resolved the problem ( winehq-staging : Depends: wine-staging (= 6.3~groovy-1)) with these steps:
1. Installed Aptitude (so to have some help when dependencies are problematic)
2. In terminal "wine --version"
It told me that wine isn't found, but can be installed and it gave me two commands to choose:
sudo apt install wine # version 5.0-3ubuntu1
sudo apt install wine-development # version 5.5-5ubuntu1
3. I chose the second one and typed:
sudo apt install wine-development
4. Then I decided to check the version by typing:
wine --version
5. And it shown me this:
it looks like wine32-development is missing, you should install it.
as root, please execute "apt-get install wine32-development"
wine-5.5 (Ubuntu 5.5-5ubuntu1)
6. And that's what I did. Typed as root:
apt-get install wine32-development
So it installed a lot of libraries i386 included etc.
7. Then I returned to https://wiki.winehq.org/Ubuntu where I stopped at the final command "sudo apt install --install-recommends winehq-stable" because I had this problem with dependencies and I decided to try it again. Typed:
sudo apt install --install-recommends winehq-stable
8. And then I checked my wine version on Ubuntu 20.10 and it was 6.0. Yey. I'm not sure weather that is the final version of wine for Ubuntu 20.10, but it is the latest I could install.
Locked