Help Wizard

Step 1

NEXT STEP

pubkey error

pubkey error

Country

Belgium

Device

Desktop running Lubuntu (same as Ubuntu but without bloatware and a lightweight desktop envirnment)

My Question or Issue

After trying to install Spotify apt is complaining about NO_PUBKEY available.


What I already tried
`sudo apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p' | while read key; do if ! [[ ${keys[*]} =~ "$key" ]]; then sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key"; keys+=("$key"); fi; done`

`sudo apt-key --refresh-keys`

`sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 4773BD5E130D1D45`

`sudo rm /var/lib/apt/lists/* -vf`

Tried to fix it with Y PPA Manager.

How I tried to install:
`curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -`
`echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list`
`sudo apt-get update && sudo apt-get install spotify-client`

Output:

W:gpg error NO_PUBKEY available

Reply
4 Replies

when I enter curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -

The terminal outputs:
gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:ungoogled_chromium.gpg'
gpg: keyblock resource '(null)': Algemene fout
gpg: key 02456C79B2FD48BF: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Totaal aantal verwerkt: 8
gpg: overgeslagen nieuwe sleutels: 8

or: skipped new keys: 8

I cant help u. I have the same problem.

 

@all: are you on *ubuntu? On Debian this works quite fine...

Thanks all for your replies.

I'm on Lubuntu.
 But currently I'm using the flatpak distribution for Spotify. It's buggy but usable 

Suggested posts