Remove unsigned repository

I was trying to install Photoshop so I downloaded Wine then PlayOnLinux and other things... it didn't work and I gave up so now I'm trying to salvage the 5GB+ I wasted on this.

I followed the instructions here

Which involves inputting

wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources

Now whenever I do sudo apt update, I get the following message:

Reading package lists... Done
W: GPG error: https://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 'https://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.

I'd really like to get rid of the whole thing as opposed to fixing the signing key or whatever. GIMP is okay, I guess. Thanks ahead.

Edit: I should mention I followed numerous guides online telling me to do add-apt-repository --remove ppa:[package], or through Software & Updates (the wine thing is not there), or through /etc/apt/sources.list (also not there). Nothing worked.

1 Like

You are using the Core version of Zorin. Are You using Zorin 17? If yes, You have added the wrong Repo because it is for Focal - and that is Ubuntu 20.04 LTS, the Base of Zorin 16. Zorin 17 is based on Ubuntu 22.04 LTS and that is Jammy. And the other Thing is that it seems that you don't have a Signing Key for the Repo.

But okay. You want to get rid of it. You should take a look to /etc/apt/sources.list.d/

The Difference between sources.list and sources.list.d is, that the frist one is a File and the last one is a Folder with Files from added Sources. There You should look for Wine.

2 Likes

I feel doubly silly for not checking either of those things. Many thanks.

(nonetheless I had other issues with Photoshop installation + who wants to use proprietary adobe :bug:)

1 Like

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