While attempting to install MS Office 2021, I mistakenly clicked "remove" on the windows App Support. Now, when I try to reinstall windows app support to load Office, the only message I get from App Support is remove. How do I fix this?
Appreciate you reaching out, Ocka. That was the first thing I tried. No luck. Next, I tried updating. Still the same.
Next, I've tried removing it through the terminal command. Still no luck.
What happens if you run
sudo apt install --reinstall zorin-windows-app-support -y
Hey, Aravision. That was the terminal command I used. Nada.
Lol. And I can't believe I fell for the oldest tech support joke in the world. Onya, Ocka. Shows how tired and frustrated I was.
I get an error message that zorin is unable to locate the package for both remove and reinstall commands.
I am pretty sure that Ocka was not kidding...
Let's go ahead and just install Wine directly:
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
sudo apt update
sudo apt install --install-recommends winehq-stable
Maybe, maybe not. Still gave me a chuckle when I read it with fresh eyes. Okay, let's try Wine directly. Much appreciated.
What did I miss? All I got was
E: Package 'winehq' has no installation candidate
Interesting...
Can we check your sources?
Please post the output of sudo apt update
Happy to, once I know how. My background is hardware. I haven't done anything with software at this level since the 80s. I did type the exact response I got. How do I pull that log for you?
Sure thing. In terminal (Launch with ctrl+alt+t
), run
sudo apt update
Once run, select "Select all" from File, then "Copy." You can then paste it here inside of the </> tags available on the post Toolbar.
Really appreciate your taking the time.
hawkewood@Exeter:~$ sudo apt update
Get:1 http://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 https://deb.opera.com/opera-stable stable InRelease
Ign:5 https://repo.vivaldi.com/stable/deb stable InRelease
Err:1 http://dl.winehq.org/wine-builds/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:6 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:7 https://packages.zorinos.com/stable focal InRelease
Hit:8 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Hit:9 https://repo.vivaldi.com/stable/deb stable Release
Hit:10 https://packages.zorinos.com/patches focal InRelease
Hit:11 https://packages.microsoft.com/repos/edge stable InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:13 https://packages.zorinos.com/apps focal InRelease
Hit:14 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:16 https://packages.zorinos.com/drivers focal InRelease
Get:17 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Hit:18 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:19 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
W: GPG error: http://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'http://dl.winehq.org/wine-builds/ubuntu focal InRelease' is not signed.
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.
let's try adding the pubkey:
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo apt update && sudo apt install --install-recommends winehq-stable
hawkewood@Exeter:~$ sudo apt update && sudo apt install --install-recommends winehq-stable
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.opera.com/opera-stable stable InRelease
Ign:3 https://repo.vivaldi.com/stable/deb stable InRelease
Get:4 http://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:7 https://packages.zorinos.com/stable focal InRelease
Hit:8 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Hit:9 https://packages.microsoft.com/repos/edge stable InRelease
Hit:10 https://repo.vivaldi.com/stable/deb stable Release
Err:4 http://dl.winehq.org/wine-builds/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:11 https://packages.zorinos.com/patches focal InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:13 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:14 https://packages.zorinos.com/apps focal InRelease
Hit:15 https://packages.zorinos.com/drivers focal InRelease
Get:16 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Hit:18 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:19 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
W: GPG error: http://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'http://dl.winehq.org/wine-builds/ubuntu focal InRelease' is not signed.
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.
Missed a bit in the last response.
awkewood@Exeter:~$ sudo mkdir -pm755 /etc/apt/keyrings
[sudo] password for hawkewood:
hawkewood@Exeter:~$ sudo wget -0 /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
wget: invalid option -- '0'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
hawkewood@Exeter:~$ sudo apt update && sudo apt install --install-recommends winehq-stable
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.opera.com/opera-stable stable InRelease
Ign:3 https://repo.vivaldi.com/stable/deb stable InRelease
Get:4 http://dl.winehq.org/wine-builds/ubuntu focal InRelease [8,041 B]
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:7 https://packages.zorinos.com/stable focal InRelease
Hit:8 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Hit:9 https://packages.microsoft.com/repos/edge stable InRelease
Hit:10 https://repo.vivaldi.com/stable/deb stable Release
Err:4 http://dl.winehq.org/wine-builds/ubuntu focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:11 https://packages.zorinos.com/patches focal InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:13 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:14 https://packages.zorinos.com/apps focal InRelease
Hit:15 https://packages.zorinos.com/drivers focal InRelease
Get:16 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Hit:18 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:19 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
W: GPG error: http://dl.winehq.org/wine-builds/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'http://dl.winehq.org/wine-builds/ubuntu focal InRelease' is not signed.
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.
It is
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Please Copy and Paste the above - it is an "O" not a "0"
Gday @Hawkewood ,
No joke intended.
And yes i know the joke as i worked in help for a large chat client for many years,
As you see, When given a terminal command,
It is best to copy & paste the command.
Keeps us informed.