WineHQ unmet depedencies on Debian

Questions about Wine on Linux
Locked
onetmt
Newbie
Newbie
Posts: 2
Joined: Wed May 19, 2021 2:25 am

WineHQ unmet depedencies on Debian

Post by onetmt »

Hello,

I'm trying to install Wine on my Debian/Bullseye laptop; I've correctly configured the repository in apt sources, updated, but when trying to installing I got this answer:

Code: Select all

root@corellia# apt install winehq-staging
Reading package lists... Done
Building dependency tree... Done
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-staging : Depends: wine-staging (= 6.8~bullseye-1)
E: Unable to correct problems, you have held broken packages.
Trying to go deeper in it I have:

Code: Select all

root@corellia# apt install wine-staging
Reading package lists... Done
Building dependency tree... Done
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:
 libgbm1 : Depends: libwayland-server0 (>= 1.15.0) but it is not installable
 libsdl2-2.0-0 : Depends: libwayland-client0 (>= 1.9.91) but it is not installable
                 Depends: libwayland-cursor0 (>= 1.0.2) but it is not installable
                 Depends: libwayland-egl1 (>= 1.15.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
And here we are at the root of the problem: if I try to apt install libwayland-server0:i386, apt wants to remove the whole Gnome from my pc - and of course I don't want to.

Any clue?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: WineHQ unmet depedencies on Debian

Post by jkfloris »

The 32 and 64 bit packages must have the same version number.

What is the output of

Code: Select all

apt policy libwayland-server0 libwayland-server0:i386
and

Code: Select all

grep -R ^deb /etc/apt/sources.list*
onetmt
Newbie
Newbie
Posts: 2
Joined: Wed May 19, 2021 2:25 am

Re: WineHQ unmet depedencies on Debian

Post by onetmt »

Thank you for your answer.

Probably I had some mixed packages from testing and unstable. Putting unstable as active repository it was possible to successfully install and run Wine.
Locked