Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to install Spotify like million times and every time I got stuck after second step. This is what terminal writes:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.yVHjNKwkbK --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver --recv-keys 94558F59
gpg: požaduji klíč 94558F59 ze hkp server

The last sentence means, that 'I need key 94558F59 from hkp server keyserver...' and I don't know what to do

share|improve this question
Hi and welcome to the site. When asking questions, please include the actual commands you ran. We have no idea what the "second step" is (or the first, for that matter) and we don't know what command you ran gives you this error. Without this information, it is very hard to help you. – terdon Apr 12 '14 at 23:05

* Big Warning *

Adding keys manually that haven't been verified can be a security risk!

That said, the content of the key can be found at Let's manually add it.

sudo apt-key add -

This will put you on a new line. Copy and paste the content of the key into your terminal, press enter, and then press CTRL+D.

If you're somehow blocked from the server, the key content is as follows:

Version: SKS 1.1.4
Comment: Hostname:


Then do the update and install.

sudo apt-get update; sudo apt-get install spotify-client -y
share|improve this answer
Thanks. I have to leave now but I wiil try it later – Lusesita Apr 12 '14 at 20:17
Thank you. I don't know how but I finally did it! :) – Lusesita Apr 13 '14 at 20:05
Glad to hear it. :) – K. Darien Freeheart Apr 13 '14 at 20:25

This really should only require three commands.

Add the Spotify repository.

echo "deb stable non-free" | sudo tee -a /etc/apt/sources.list.d/spotify.list

Add the GPG key.

sudo apt-key adv --keyserver --recv-keys 94558F59

Update and install Spotify.

sudo apt-get update && sudo apt-get install spotify-client -y
share|improve this answer
Again, it writes the same message :-/ I have Pear OS 7. Is it possible I can't install Spotify? I have Linux onlu for few months and before I was usual Mycrosoft user, so I don't know much stuff about terminal and so on – Lusesita Apr 12 '14 at 19:57
Hrm. They key is very much there, and served up by the keyserver. I wonder if it's possible that you're somehow blocked from accessing the server. Can you trying pinging it? ping You should see a response similar to: PING ( 56(84) bytes of data. 64 bytes from ( icmp_seq=1 ttl=50 time=87.7 ms – K. Darien Freeheart Apr 12 '14 at 20:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.