msfemboy@msfemboy-Dell-G15-5525:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 https://mirror.clarkson.edu/linuxmint-packages virginia InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 https://repo.steampowered.com/steam stable InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:7 https://mirror.clarkson.edu/linuxmint-packages virginia Release [24.1 kB]
Hit:8 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Get:9 https://mirror.clarkson.edu/linuxmint-packages virginia Release.gpg [833 B]
Hit:10 https://brinkervii.gitlab.io/grapejuice/repositories/debian universal InRelease
Hit:11 https://deb.opera.com/opera-stable stable InRelease
Get:12 http://repository.spotify.com stable InRelease [3,316 B]
Hit:13 https://ppa.launchpadcontent.net/lutris-team/lutris/ubuntu jammy InRelease
Get:14 https://mirror.clarkson.edu/linuxmint-packages virginia/main i386 Packages [17.9 kB]
Get:15 https://mirror.clarkson.edu/linuxmint-packages virginia/main amd64 Packages [18.5 kB]
Get:16 https://mirror.clarkson.edu/linuxmint-packages virginia/upstream amd64 Packages [48.9 kB]
Get:17 https://mirror.clarkson.edu/linuxmint-packages virginia/upstream i386 Packages [14.6 kB]
Get:18 https://mirror.clarkson.edu/linuxmint-packages virginia/import amd64 Packages [8,338 B]
Get:19 https://mirror.clarkson.edu/linuxmint-packages virginia/import i386 Packages [3,678 B]
Get:20 https://mirror.clarkson.edu/linuxmint-packages virginia/backport i386 Packages [8,307 B]
Get:21 https://mirror.clarkson.edu/linuxmint-packages virginia/backport amd64 Packages [54.9 kB]
Err:12 http://repository.spotify.com stable InRelease
#No public key error
4 messages · Page 1 of 1 (latest)
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6224F9941A8AA6D1
E: The repository 'http://repository.spotify.com stable 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 have looked online and alot of answers on StackOverflow point to this answer, but it confuses me as to how to enter the second commands, where it refers to EXAMPLE
Stack Overflow
I was installing elasticsearch following this guide, but elasticsearch is not really the part of this question.
In the first step, I need to add the key:
wget -qO - https://artifacts.elastic.co/GPG...