Zorin Windows app support install freezes

In Zorin OS 17.2 I attempted to install Zorin Windows app support using the terminal command:

sudo apt install zorin-windows-app-support

Everything went fine up to 93% when the installation froze and stuck forever on the line:
...
Installing runtime/org.gnome.Platform/x86_64/47
...
Normally an installer has two phases, download then install and because I'm on a metered connection its set to disconnect when its not being used, so I suspect at the point where this installation froze it had been installing for a while then at the end was then trying to download additional packages, which I didnt expect because the installer was in the install stage, but whatever it was trying to download in the background it obviously couldnt because the connection was lost.

So I gave up and shut down, but there was still a process for the installer running and I had no alternative but to kill -9 the process as it was preventing me from shutting down my system, but at the same time it was never going to complete the install either.

When I started my system again later I completely removed the software with the command

sudo apt-get remove --auto-remove zorin-windows-app-support

which was successful. I then ran the jnstaller again, but again it freezes at precisely the same point, however this time I ensured the connection wouldnt be automatically disconnected during the installation, but low and behold it still froze at precisely the same point. I left it for an hour, it remained stuck, I am now at an impasse I cant get past this showstopper and cant install the software and I'm out of options & ideas.

Welcome to the Forum!

It looks for me that it wants to install the Gnome 47 Runtime. When I understand it right, You want install it for using Windows Programs, right?

You coulkd try it with installing Wine directly with the Command sudo apt install wine or if You prefer to get it from the Developers directly, You can add the Repo from them.

As an Alternative, You could try it with installing the Runtime manually and then again the Zorin App Support.

Thanks for the swift reply. Well I have migrated my system from 16.1 to 17.2, I dont like to upgrade, I prefer to migrate my system manually, so I can verify all my installation methods still work in the new version, so I'm just recreating my Zorin OS 16.1 system in 17.2, however since installing Wine is rarely problem free even for someone like me who has decades of working on every Linux distribution, I had problems installing Wine in 16.2, its nearly always a problem with dependencies, I had the same problems in other distros, but eventually came up with a working a step by step installation guide on Zorin 16.1 and so I ran the exact same installation steps in 17.2 you know, installed the 32 bit architecture, added keys to repository, updated the package index and so on and all steps completed without error except for the final step which was to install Wine itself, but the Wine installation failed with the error:

The following packages have unmet dependencies:
winehq-stable (=9.0.0.0-jammy-1)
E: Unable to fix unmet dependencies, unable to fix broken packages.

So I thought ok lets give Zorin-Windows-app-support a whirl, since it'll likely install Wine for me and save me a headache, whats not to like:) only it failed on me too.

And when You install Wine on Zorin 17 from the Zorin/Ubuntu Repos it doesn't work with the Command sudo apt install wine ?

I solved this problem myself. I know that Zorin Windows App Support installation failed, because firstly my system wasnt sufficiently updated and upgraded and secondly the configuration files for downloading, registering and storing the winehq-archive GPG (GNU Privacy Guard) key were misconfigured, pointing to the wrong file and the wrong repository and the GPG key I downloaded from the official winehq.org website following their instructions was in the incorrect format, it was in .asc format and I found that in this case, the wine installation ignores it hence the error:

NO_PUBKEY 76F1A20FF987672F

Which was not because the key was missing it was because it was not in the expected format .gpg format, so I had to convert the key from .asc to .gpg format, which I placed in my home folder then moved into

/usr/share/keyrings. (well actually into a different location, but the path doesnt really matter so long as its a secure place and all the configuration files point to the same directory.

For example you need to ensure that the
the wine config file:

winehq-jammy.sources

In:

/etc/apt/sources.list.d

reads:

Types: deb
URIs: https://winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Signed-By: /usr/share/keyrings/winehq-archive.gpg

The above is an example location for security its not advisable to put all your keys for all your software in the same repository, you should put them in separate repositorys and in a secure but accessible place on your system and so you would likely want to replace the location /usr/share/ with the secure repository location of your choice on your system.

So to install Wine 9.0, which is the latest stable version at time of writing, I followed the official Wine installation instructions for the stable branch at:

Then I received 3 or 4 errors when running sudo apt update and found solutions for all of them at the URL below. Its also worth pointing out that

sudo apt-key add

is considered insecure and so is deprecated and you need to really research and understand the security issues surrounding "apt-key add" and what the secure alternatives are.

After I reached the point in the winehq instructions where I was ready to update the package indexes using:

sudo apt update

I then fixed all the issues that presented themselves after running the above command, using the solution by Sibulele and all of the other solutions in further comments from Daniel at:

Once I fixed all the remaining issues and sudo update completed without errors, I finally installed wine successfully with the following command:

sudo apt install --install-recommends winehq-stable

So if you follow the official installation instructions for Wine at the URL I provided and then fix the remaining issues using the stackoverflow solution(s).

Then once you have successfully installed Wine, the Zorin Windows App Support installation cant fail because Wine is already installed, configured and working.

I hope this solution helps anyone else in the future who perhaps comes across some or all of the same issues.

If you still have problems installing Wine perhaps get confused or stuck and have problems. Let me know and I could provide a complete set of instructions, since I documented every step.

I haven't marked this as a solution as I need to wait to see if anyone comes across this solution and successfully installs Wine and/or Zorin Windows App Support using them.