Spotify apt update fix
Tofloor
poster avatar
konspiracy
deepin
2018-03-30 14:48
Author
If you get errors pertaining to spotify when trying to,

"sudo apt update"

then you need to add the Spotify key to the keyring with,


"sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EFDC8610341D9410"

if you get an error message then you should probably install dirmngr. This fix worked for me and I hope it works for you.

Reply Favorite View the author
All Replies
WENWEN
deepin
2018-03-30 17:01
#1
  1. sudo apt install dirmngr
Copy the Code
Reply View the author
mmsoftic
deepin
2018-03-31 21:22
#2
unofortunately both of those things didnt fix it for me.
Reply View the author
xrest
deepin
2018-04-11 10:09
#3
It worked for me

Thanks so much
Reply View the author
lkashl
deepin
2018-08-06 03:50
#4
As an alternative, for those who don't want spotify on the system at all, instead of adding the key:
  1. # Remove spotify app
  2. sudo apt-get purge spotify-client
  3. # Remove spotify from apt sources
  4. sudo rm /etc/apt/sources.list.d/spotify
Copy the Code
Reply View the author
oscararg
deepin
2018-08-06 06:11
#5
You can find Spotify as a Flatpak package too.
Reply View the author
danygee
deepin
2018-08-10 08:56
#6
Added official repo once more and it looks like the problem is solved:
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90

# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

# 3. Update list of available packages
sudo apt-get update

# 4. Install Spotify
sudo apt-get install spotify-client

spotify-client is already the newest version (1:1.0.80.480.g51b03ac3-13)
No errors
Reply View the author