WINE install on SparkyLinux fails

Questions about Wine on Linux
Locked
skris88
Newbie
Newbie
Posts: 2
Joined: Fri Mar 10, 2023 7:02 pm

WINE install on SparkyLinux fails

Post by skris88 »

Hi,

I just installed SparkyLinux overnight but having issues trying to install WINE. Below are my terminal entries and responses (from info I found on another topic here that is closed). What can I do to resolve this? Thanks!

$ sudo apt install --install-recommends winehq-stable
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-stable : Depends: wine-stable (= 8.0.0.0~kinetic-1)
E: Unable to correct problems, you have held broken packages.

$ apt policy libnss3 libnss3:i386
libnss3:
Installed: 2:3.61-1+deb11u2
Candidate: 2:3.61-1+deb11u3
Version table:
2:3.61-1+deb11u3 500
500 http://deb.debian.org/debian-security bullseye-security/updates/main amd64 Packages
*** 2:3.61-1+deb11u2 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
libnss3:i386:
Installed: 2:3.61-1+deb11u2
Candidate: 2:3.61-1+deb11u3
Version table:
2:3.61-1+deb11u3 500
500 http://deb.debian.org/debian-security bullseye-security/updates/main i386 Packages
*** 2:3.61-1+deb11u2 500
500 http://deb.debian.org/debian bullseye/main i386 Packages
100 /var/lib/dpkg/status

$ sudo apt install libnss3=2:3.61-1+deb11u2 libnss3:i386=2:3.61-1+deb11u2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libnss3 is already the newest version (2:3.61-1+deb11u2).
libnss3:i386 is already the newest version (2:3.61-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE install on SparkyLinux fails

Post by jkfloris »

winehq-stable : Depends: wine-stable (= 8.0.0.0~kinetic-1)
...
500 http://deb.debian.org/debian bullseye/main amd64 Packages
It looks like you downloaded the wrong WineHQ repository file.
Remove "winehq-kinetic.sources" from "/etc/apt/sources.list.d/" and download the Debian bullseye file

Code: Select all

sudo rm /etc/apt/sources.list.d/winehq-kinetic.sources
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources

# and try again
sudo apt update
sudo apt install --install-recommends winehq-stable
skris88
Newbie
Newbie
Posts: 2
Joined: Fri Mar 10, 2023 7:02 pm

Re: WINE install on SparkyLinux fails

Post by skris88 »

Great. Thanks!
Locked