How can a user Update Wine on Zorin OS?

@Rui07 , @Aravisian ,I have wine-6.0.3, but www.winehq.org has version 8.0, I must admit, it is an incredible pain to figure out how to update wine, this is the problem i get after following these instructions: "sudo apt-get install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package winehq-stable is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'winehq-stable' has no installation candidate"

1 Like

Post moved to new thread in General Help.

Ensure that WINE is not installed from the Zorin Repo:

sudo apt remove --purge zorin-windows-app-support

Add the wine Key

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Add architecture and update sources

sudo dpkg --add-architecture i386

sudo apt update

Add the Wine Repo:
(NOTE: This should be the only wine repository in your sources. Be sure to check that it is the only one in Software & Updates > Other tab)

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

You can check which packages are available in the WIne Focal Staging directory with:

apt policy winehq-staging

Instead of stable; install Wine Staging:

sudo apt install --install-recommends winehq-staging

4 Likes

@Aravisian, after doing all that, it says, "Unable to locate package winehq-staging". Also does this look right?:
image

What does apt policy winehq-staging show?

Yes, the repos look right.

1 Like

image

Have you updated your sources?

sudo apt update

2 Likes

Thanks, I think that fixed it, it looks like it installed. Also i got this error while installing?
image

@Aravisian , thanks for your help, now my system says: wine-8.3 (Staging)

1 Like

The sudo apt update command was included in the steps outlined here:

Please review that post and see if any other steps were missed.

1 Like

Yeah, i actually already did run that command, odd, is "&&" right? could that be a typo?

&& is a chained operator where the second ampersand ensures that the following command will only run if the first command has successfully run.

If you need libvkd3d-shader, I found a .deb for it on WineHQ - but you may prefer to check in on the WineHQ Forum to double check with people knowledgeeable about Wine for whether you should use it.
https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/binary-amd64/libvkd3d-shader1_1.3~jammy-1_amd64.deb

Edit to note: I edited the above post to separate the chained command into two separate commands to prevent that from being a possible issue for other users. It may be that if your architecture was already added - it did not consider that successfully run.

1 Like

@Aravisian , here's proof i did follow the && command,etc, but it didnt update, please review my terminal transcript. :slight_smile: https://rentry.co/93ec3

No worries; I think I was too quick to assume you skipped a step. I edited the above post to note:

So this may be my own fault.

1 Like

Can't you on PlayOnLinux > Tools > Manage Wine version?

1 Like

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