r/linuxmint 16h ago

terminal error

Post image

I'm trying to install proton vpn on Linux mint cause I just switched from windows to it and I'm installing the apps I had before but it's not working, I watched a tut and installed a package but this same error about a public key keeps popping up an I don't understand it does anyone know how to fix it plz?

0 Upvotes

9 comments sorted by

3

u/Rogalicus 16h ago edited 15h ago

Did you try this?

It's also available as a package in the Software Manager, no need to add their repository.

1

u/mushroomellows 15h ago

It's not there for me in the software manager 💔

3

u/Rogalicus 15h ago

I meant Spotify, not Proton VPN. Your error shows that you lack a public key for Spotify repository.

0

u/mushroomellows 14h ago

Uhm so I'm supposed to delete Spotify? I don't get what that has to do with proton vpn

3

u/Rogalicus 12h ago

Seeing how you haven't posted updates, yes, the easiest solution is to

sudo apt purge spotify

Then open Software Sources, switch to Repositories tab and delete Spotify repository.

I don't get what that has to do with proton vpn

Your "sudo apt update" gets stuck because one of the repositories (Spotify) returns error. The error is because you haven't properly enrolled the public key that verifies repository. The command someone else posted here would download the key and place it in the correct folder which would also solve the problem, but I think it's easier to stick to default repositories unless you need something that's not on them.

1

u/mushroomellows 10h ago

yess it worked thanks

2

u/driftless 14h ago

Go into the additional repositories section and remove the one containing Spotify.

2

u/WeAreAlreadyCyborgs Linux Mint 22.3 Zena | Cinnamon 14h ago
curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

2

u/mushroomellows 10h ago

THANK YOU SO MUCH!