Can't install Windows App Support (brocken packages)

Hey, after runing sudo apt install -y zorin-windows-app-support
I get the following output:
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:
zorin-windows-app-support : Depends: winehq-stable but it is not going to be installed or
wine
Depends: playonlinux but it is not going to be installed
Recommends: wine-stable-amd64 but it is not going to be installed or
wine64
Recommends: wine-stable-i386:i386 or
wine32:i386
E: Unable to correct problems, you have held broken packages.

Can't install through Software either. What should I do? Thanks!

sudo apt --fix-broken install

sudo dpkg --add-architecture i386

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources

sudo apt update && sudo apt install --install-recommends winehq-stable

3 Likes

Problem persists :frowning:


From your screenshot - you can see that you have a Jammy Jellyfish Wine Repository added.
You must remove that repository and rely on the Focal Fossa Repository that you added in the steps above.
jammy-file

For those new to this like me, I entered:

ls /etc/apt/sources.list.d/

Then identified the Jammy repo. It was called "winehq-jammy.sources".

Removed it with

sudo rm /etc/apt/sources.list.d/winehq-jammy.sources

Then

sudo apt update

Finally, run the commands listed in the comment above.
Thanks for the support!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.