Issue When Installing Wine

I am following this guide: Ubuntu - WineHQ Wiki to install wine on Zorin OS Core 15.3 and I am getting an error when I try to add the wine repository (sudo add-apt-repository deb Index of /wine-builds/ubuntu bionic main):

jakub@jakub-desktop:~$ sudo add-apt-repository 'deb Index of /wine-builds/ubuntu bionic main'
Hit:1 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:2 https://repo.steampowered.com/steam stable InRelease
Hit:3 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:7 http://archive.canonical.com/ubuntu bionic InRelease
Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:9 https://packages.zorinos.com/stable bionic InRelease
Hit:10 http://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:11 https://packages.zorinos.com/patches bionic InRelease
Hit:12 https://packages.zorinos.com/apps bionic InRelease
Hit:13 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu bionic InRelease
Hit:14 https://packages.zorinos.com/drivers bionic InRelease
Ign:15 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic InRelease
Hit:16 http://ppa.launchpad.net/yktooo/ppa/ubuntu bionic InRelease
Hit:17 http://ppa.launchpad.net/zorinos/apps/ubuntu bionic InRelease
Hit:18 http://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:19 http://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:20 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease
Hit:21 http://ppa.launchpad.net/zorinos/patches/ubuntu bionic InRelease
Hit:22 http://ppa.launchpad.net/zorinos/stable/ubuntu bionic InRelease
Err:23 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release
404 Not Found [IP: XXXX:XXX:XXXX:XXXX::XX XX]
Reading package lists... Done
W: Skipping acquire of configured file 'main'/binary-i386/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/binary-amd64/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/i18n/Translation-en' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/i18n/Translation-en_AU' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/dep11/Components-amd64.yml' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/dep11/icons-48x48.tar' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/dep11/icons-64x64.tar' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main'/cnf/Commands-amd64' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't have the component 'main'' (component misspelt in sources.list?)
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

1 Like
Hit:1 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:3 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease

For some reason you have added all the ubuntu releases to your repositories, pleas be more careful. Please remove the extra PPAs before venturing further.

As far as I know Zorin have there own Wine version, so you don't need to add ubuntu's.

1 Like

Where can I find instructions for downloading the Zorin version? Also, how do I remove the other repositories? Do I simply untick them in the "Other Software" section in the "Software & Updates" menu?

This may only be for z16 wine is installed by default. I don't think z15 have it (@Aravisian ?)

sudo apt install wine wine32:i386 wine64 winetricks

But you may want to get rid of the wine PPA's first or you'll get errors.

To remove the PPA's, do I do it here? On the topic of z16, is it stable now?

image

1 Like

Hello:
Version 15 brings wine installed, of course it is not the latest, (4.03). However, at least for me, it works quite well. To use it you just have to click on the executable file of the program you downloaded and follow the instructions.
Having said that, it is worth mentioning that wine does not work well for all Windows programs. It is recommended to visit its page and see the list of programs it supports and their classification.
Regards

When I try to check what wine version I have it says:

jakub@jakub-desktop:~$ wine --version

Command 'wine' not found, but can be installed with:

sudo apt install wine-development
sudo apt install wine-stable

From my understanding, that means I don't have wine. When I try run the "sudo apt install wine-stable" I come across a similar problem that I presented at the beginning of the thread.

Yes to your first question.

Z16 is offcial still in beta, but I have used in for now in 2 month? Quite stable.

Try install synaptic and check for wine packages.

I have a couple, but when I tried installing games using Lutris, it said I do not have wine installed.

You can let Lutris install the wine version locally, as I recall it (I only tried it once). If it's steam games it's recommendable to use Proton via Steam.

Wine can easily be installed on Zorin OS 16 with

sudo apt install zorin-windows-app-support

I agree with Storm, you should remove the Wine Respositories and

sudo apt clean

sudo apt autoremove

before hand to ensure a clean install.
The Ubuntu repositories will not respond to the apt command for zorin-windows-app-support, so you may be able to install it without removing the extra repos- but I believe that once Wine is installed, the Ubuntu Repository versions will bungle what you have installed the moment you run an Upgrade on your system (or system updater).

For Steam, Agreed with Storm about Proton - it does work better.
Sidenote: Zorin OS 12 came with Wine preinstalled - Zorin 15 did not.

3 Likes

You can remove PPA from "Software and Update".
Select "Other Software" tab.

Zorin16 beta is rock solid.
I am using it on my production machine for a few months without any major issue.

2 Likes

Is there a way to install it while keeping all my programs and settings? Do you think something like this will be implemented in the official release?

There will be an in-place upgrade path for Zorin 16 for 15.3 users sometime this year. If you go that path, everything should remain including apps and personal files.

1 Like

There is not at this time, but as FrenchPress points out- there may be a Direct Upgrade option by the end of this year. It may be a wait and... Personally, I don't recommend it.
At all. It is a painful process.

It is easier to back up your /home/$USER/ data and configs (~/.config) and such. Then do a complete new install. You can use the terminal command apt list --installed and then copy that to a text file to have a fast easy reference of all your installed apps. You may see a bunch on there that you installed and never actually use anymore so- no need to reinstall those on the new build. :slight_smile:

1 Like