Failed install of WineHQ debs on SparkyLinux stable

Questions about Wine on Linux
Locked
jjramsey
Newbie
Newbie
Posts: 3
Joined: Mon Aug 15, 2022 8:08 pm

Failed install of WineHQ debs on SparkyLinux stable

Post by jjramsey »

SparkyLinux stable is mostly a Debian Bullseye install with some extra packages. However, installing from WineHQ's repos for Debian hasn't worked. If I run

Code: Select all

sudo apt install --install-recommends winehq-devel
I get the following error message:

Code: Select all

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 7.15~bullseye-1)
E: Unable to correct problems, you have held broken packages.
If I try to install `wine-devel` I get this error message:

Code: Select all

The following packages have unmet dependencies:
 libpoppler102 : Depends: libnss3 (>= 2:3.16) but it is not installable
I've installed libfaudio0, both the amd64 and i386 versions. The amd64 versions of libpoppler102 and libnss3 are already installed, but if I attempt to install the i386 versions of them, apt declares that it will remove a whole bunch of packages, including the amd64 versions of libpoppler102 and libnss3.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Failed install of WineHQ debs on SparkyLinux stable

Post by jkfloris »

The versions of the 64 and 32 packages should be exactly the same.
You can check what versions are available with:

Code: Select all

apt policy libnss3 libnss3:i386
Choose the version that comes with both architectures and install it with:

Code: Select all

# For example, if the version number is 2:3.61-1+deb11u2
sudo apt install libnss3=2:3.61-1+deb11u2 libnss3:i386=2:3.61-1+deb11u2
mivanchev
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 5:13 am

Re: Failed install of WineHQ debs on SparkyLinux stable

Post by mivanchev »

If you feel like experimenting you can try static-wine32, it solves exactly this problem.
jjramsey
Newbie
Newbie
Posts: 3
Joined: Mon Aug 15, 2022 8:08 pm

Re: Failed install of WineHQ debs on SparkyLinux stable

Post by jjramsey »

jkfloris wrote: Thu Aug 25, 2022 6:16 am The versions of the 64 and 32 packages should be exactly the same.
Thanks. It turns out that the SparkyLinux ISO had version 2:3.67-2 of the amd64 libnss3 .deb package, but the version available from the Debian Bullseye repos, for both amd64 and i386, was 2:3.61-1+deb11u2. Since the Wine install needed both the amd64 and i386 versions of libnss3, there was a version conflict, as you had gathered. The solution was to downgrade libnss3 to 2:3.61-1+deb11u2.
Locked