Problems installing Wine on Zorin OS 16

Hello!
I am having problems to install Wine on Zorin OS 16, when I use the common command on terminal this appears:
image

It is in portuguese, but the principal error is:
Some packages could not be installed. This could mean that
you requested an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created yet or removed from "Incoming".
The following information may help resolve the situation:

The following packages have mismatched dependencies:
wine : Depends: wine64 (>= 5.0.3-3+zorin2) or
wine32 (>= 5.0.3-3+zorin2)
It depends: wine64 (< 5.0.3-3+zorin2.1~) or
wine32 (< 5.0.3-3+zorin2.1~)
E: Unable to fix issues, you kept (hold) broken packages.

Please guys, I really need your help!
Thank you!
:grinning:

You can try installing Wine from Software.

1 Like

Hi there, @FrenchPress! :upside_down_face:
Thanks for trying to help me. Well, I tried it, but this appears:


The first phrase that it's in portuguese it's only saying that Wine could not be installed :frowning_face:
Do you know what I can do?
Thank you again!

Can you run these commands?
sudo apt update
sudo apt upgrade

1 Like

I tried it, and, on the first command:

sudo apt update

This happens on the end:
image
Translating it on english:

Reading package lists... Done
W: GPG Error: Index of /wine-builds/ubuntu artful InRelease: The following signatures could not be verified due to the public key not being available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'Index of /wine-builds/ubuntu artful InRelease' is not signed.
N: Updates from such a repository cannot be done securely and are therefore disabled by definition.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'Index of /ubuntu-audio-dev/alsa-daily/ubuntu focal Release' does not have a Release file.
N: Updates from such a repository cannot be done securely and are therefore disabled by definition.
N: See apt-secure(8) manpage for repository creation and user configuration details.

On the second command:

sudo apt upgrade

This happens:
image

Basically it's saying if I want to download some files, and when I confirm it, the operation ends. (I know, confusing.)

Thank you again! :slight_smile:

OK, it is bit beyond my capability.

Lemme invoke :star2: our mighty volunteer :crown:
@Aravisian

1 Like

When it doubt, DEB!
https://ubuntu.pkgs.org/20.04/winehq-amd64/wine-stable_4.0.4~focal_amd64.deb.html

BTW, love MLP. Twilight the wise delivers her message!

Umm hmm, did you manage to make any cupcakes? I am so hungry! :grin:


2 Likes

It's so good to see you here @StarTreker! :blush:
Well, I think I am having a little trouble with the second command.

deb https://dl.winehq.org/wine-builds/ubuntu/ focal main

When I add it, this appears:
image

Now it's time for the translating magic:

Command 'deb' not found, did you mean:

snap den 'den' command (1.2.0-0)
snap dub 'dub' command (1.19.0)
'debc' command from deb devscripts (2.20.2ubuntu2)
deb quilt command 'deb3' (0.65-3)
'dex' command from deb dex (0.8.0-2)
icu-devtools deb 'derb' command (66.1-2ubuntu2.1)
'dab' command from deb bsdgames (2.17-28build1)
'dub' command from deb dub (1.19.0-1build2)
'debi' command from deb devscripts (2.20.2ubuntu2)
'dep' command from deb go-dep (0.5.4-3)
deb 'edb' command edb-debugger (1.0.0-1build3)

See 'snap info ' for additional versions.

I really think that this shouldn't happen.
Thank you! ^^

Pssst, Twilight! Don't tell anyone that I am here. Grab this :cupcake:

2 Likes

I'm nowhere close to a Linux expert yet but doesn't deb require elevated privileges to run? Have you taken a look at their installation guide?

https://wiki.winehq.org/Ubuntu

I just installed Wine this morning and I had to follow these steps exactly to get it working starting at adding the repository key.

1 Like

Use Synaptic: Installing packages using Synaptic Package Manager GUI

Install wine-stable

If you get broken packages, use Edit -> Fix broken packages in Synaptic

For the latest wine version, follow these instructions: Ubuntu - WineHQ Wiki

2 Likes

You also could:

sudo apt install zorin-windows-app-support

2 Likes

What about adding the public key? Won't that solve the problem?

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
2 Likes

Yep, it probably would.

Please keep in mind, though...
If the user is going to try

sudo apt install zorin-windows-app-support

then they should not add the wine repo.
IF Zorin-windows-app-supports works for their needs, they should remove the broken wine repo with y-ppa-manager or Software & Updates app (or with the terminal).

IF they are going to not use Zorin-windows-app-support, they should keep the repo and add the key per your suggestion.

So... currently, the instructions in this thread have gotten complicated... I think we need the O.P. to reply with a Clear Plan Forward.

3 Likes

Is secure boot turned off in the bios ???

1 Like

May the force be with you, @prestonEP! :sunglasses:
Thank you very much for trying to help me, and also, sorry for taking so long to answer you. Starting from the basics it's a very good option, then, I tried it. Unfortunately, things went a little messy. :grimacing:
The three first commands works fine, but, when I use the Ubuntu 20.04 repository command (which is the one that Zorin OS 16 is based), this happens:

Translating it:

Reading package lists... Done
W: GPG Error: Index of /wine-builds/ubuntu artful InRelease: The following signatures could not be verified due to the key not being available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'Index of /wine-builds/ubuntu artful InRelease' is not signed.
N: Updates from such a repository cannot be done securely and are therefore disabled by definition.
N: See the apt-secure (8) man page for repository creation and user configuration details.
E: The repository 'Index of /ubuntu-audio-dev/alsa-daily/ubuntu focal Release' does not have a Release file.
N: Updates from such a repository cannot be done securely and are therefore disabled by definition.
N: See the apt-secure (8) man page for repository creation and user configuration details.

It's the same mistakes from earlier, when I used:

sudo apt update

When I try to install it with

sudo apt install --install-recommends winehq-stable

This appears:
image

On the good english:

The following packages have mismatched dependencies:
winehq-stable: Depends: wine-stable (= 6.0.2 ~ impish-1)
E: Unable to fix issues, you kept (hold) broken packages.

It's the same, but, thank you very much for trying! If you know anything more that could help, please share. :smiley:

sudo apt --fix-broken install

That would always be my first approach to installing Wine etc on ZorinOS.

2 Likes

Enjoy your stay, @carmar!
Thank you very much for sharing your knowledge. Unfortunately, it didn't worked for me (maybe because I don't know how to use it properly). When I click the "Fix broken packages" things, nothing happens. I don't know if this was supposed to happen, but, I really think that don't.
But, if you have anything more to share, please do, it would be a great help!
:slight_smile:

I am going to unwrap the red carpet, because @Aravisian is finally here!
Hello! :wave: :grinning_face_with_smiling_eyes:
When I use that command, what I should do next? Sorry, I am really a starter on Linux.
Thank you for the help!

I tripped on it.

Can you please relay the terminal results of that command? Does it give a final notice that it removed anything?
The purpose of that command is to handle the "You have held broken packages" error.

2 Likes