Trying to update to Wine 5 on Debian, getting error

Questions about Wine on Linux
Locked
raphael75
Level 2
Level 2
Posts: 18
Joined: Mon Apr 20, 2020 1:32 pm

Trying to update to Wine 5 on Debian, getting error

Post by raphael75 »

I have Debian 10 and currently have wine-4.0 installed. I am trying to use the recommended command to update from here to the latest wine version:

https://wiki.winehq.org/Debian

Code: Select all

sudo apt install --install-recommends winehq-stable
I ran sudo apt update it shows that everything is up to date.

When I run the install command above I get this:

Code: Select all

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 (= 5.0.0~buster)
E: Unable to correct problems, you have held broken packages.
sudo apt list --installed | grep wine shows:

Code: Select all

fonts-wine/stable,stable,now 4.0-2 all [installed]
libkwineffects11/stable,now 4:5.14.5-1 amd64 [installed,automatic]
libwine-development/stable,now 4.2-4+b1 amd64 [installed]
libwine-development/stable,now 4.2-4+b1 i386 [installed]
libwine/stable,now 4.0-2 amd64 [installed]
libwine/stable,now 4.0-2 i386 [installed]
wine-development/stable,stable,now 4.2-4 all [installed]
wine32-development/stable,now 4.2-4+b1 i386 [installed]
wine32/stable,now 4.0-2 i386 [installed]
wine64-development/stable,now 4.2-4+b1 amd64 [installed]
wine64/stable,now 4.0-2 amd64 [installed]
wine/stable,stable,now 4.0-2 all [installed]
cat /etc/apt/sources.list.d/wine.list shows:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/ buster main
How can I update it?
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Trying to update to Wine 5 on Debian, getting error

Post by spoon0042 »

Did you install the faudio packages as described here? You will need to do that first if you haven't.

There are some tips in the faq if you are still having problems, short version is to try 'apt install wine-stable' and see what it complains about.
Locked