Can't install winehq-stable in Pop!_OS 21.04

Questions about Wine on Linux
Locked
NewblyAaron
Newbie
Newbie
Posts: 2
Joined: Wed Oct 20, 2021 7:11 pm

Can't install winehq-stable in Pop!_OS 21.04

Post by NewblyAaron »

I'm currently having a problem in installing WineHQ. I'm following the instructions on the Ubuntu section of the wiki. It's saying that I have unmet dependencies and have held broken packages.

Code: Select all

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 6.0.1~hirsute-1)
E: Unable to correct problems, you have held broken packages.
Trying to install wine-stable would result to this:

Code: Select all

The following packages have unmet dependencies:
 libasound2-plugins : Depends: libpulse0 (>= 0.99.1-1~) but it is not installable
 libsdl2-2.0-0 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 wine-stable-amd64 : Depends: libpulse0 (>= 0.99.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
libasound2-plugins and libsdl2-2.0-0 is already installed. wine-stable-amd64 installed fine with no errors.

libpulse0 is also installed and is in a higher version...

Code: Select all

libpulse0 is already the newest version (1:14.2-1ubuntu1.1).
I'm stumped. Any help?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can't install winehq-stable in Pop!_OS 21.04

Post by jkfloris »

What is the output of:

Code: Select all

grep -R ^deb /etc/apt/sources.list*
libpulse0 version 1:14.2-1ubuntu1.1 is an older version from the hirsute-updates repository.
Probably the hirsute-updates repository is disabled or you have manually installed packages from it in the past.
NewblyAaron
Newbie
Newbie
Posts: 2
Joined: Wed Oct 20, 2021 7:11 pm

Re: Can't install winehq-stable in Pop!_OS 21.04

Post by NewblyAaron »

jkfloris wrote: Thu Oct 21, 2021 7:13 am What is the output of:

Code: Select all

grep -R ^deb /etc/apt/sources.list*
libpulse0 version 1:14.2-1ubuntu1.1 is an older version from the hirsute-updates repository.
Probably the hirsute-updates repository is disabled or you have manually installed packages from it in the past.
Thank you for the reply! This was the output:

Code: Select all

aaron@pop-os-newbly:~$ grep -R ^deb /etc/apt/sources.list*
/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list:deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main
/etc/apt/sources.list.d/system76-ubuntu-pop-hirsute.list:deb http://ppa.launchpad.net/system76/pop/ubuntu/ hirsute main
/etc/apt/sources.list.d/system76-ubuntu-pop-hirsute.list:deb-src http://ppa.launchpad.net/system76/pop/ubuntu/ hirsute main
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
But after I posted the topic, Pop!_OS had a package update that fixed the problem. It probably was the "http://ppa.launchpad.net/system76/pop/ubuntu/" source that had a conflict. I successfully installed winehq-stable now!
Locked