|
|
Rivi 22: |
Rivi 22: |
| Spotify löytyy [[Ubuntu]]lle ja [[Debian]]ille Spotifyn virallisesta pakettilähteestä nimellä <tt>spotify-client</tt>. Lisätietoja ohjelmien asentamisesta löytyy artikkelista [[Ohjelmien asentaminen]]. | | Spotify löytyy [[Ubuntu]]lle ja [[Debian]]ille Spotifyn virallisesta pakettilähteestä nimellä <tt>spotify-client</tt>. Lisätietoja ohjelmien asentamisesta löytyy artikkelista [[Ohjelmien asentaminen]]. |
|
| |
|
| Spotifyn virallisen pakettilähteen asentaminen: | | Spotifyn virallisen ja vakaan version voi asentaa seuraavasti [[Komentorivi|komentoriviltä]]: |
| | |
| Vaihtoehtoisesti Ubuntu 9.10:llä ja uudemmilla voi käyttää komentoa:
| |
| sudo apt-add-repository 'deb http://repository.spotify.com stable non-free'
| |
| | |
| [[Gpg]]-avaimien haku [[Komentorivi|komentoriviltä]] tapahtuu näin:
| |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
| |
| | |
| Pakettilistojen päivitys ja ohjelman asennus tapahtuu [[Komentorivi|komentoriviltä]]:
| |
| sudo apt-get update && sudo apt-get install spotify-client
| |
| | |
| Vanhan GPG-avaimen poisto ja uuden päivitys tapahtuu seuraavasti [[Komentorivi|komentoriviltä]]:
| |
| sudo apt-key del 94558F59 && sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2C19886
| |
| sudo apt-get update
| |
| | |
| [https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Linux-users-important-update/td-p/1157534 lähde]
| |
| | |
| Vakaan versio voi asentaa seuraavasti [[Komentorivi|komentoriviltä]]:
| |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 \ | | sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 \ |
| echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list | | 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 | | sudo apt-get update && sudo apt-get install spotify-client |
|
| |
|
| |
| ==== Ongelmat ====
| |
| Ongelma 1
| |
|
| |
| E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_i18n_Translation-fi%5fFI E: Pakettilistoja tai tilatiedostoa ei voi tulkita tai avata. E: _cache->open() failed, please report.
| |
|
| |
| Korjaus
| |
|
| |
| Viime aikoina Spotifyssä on ollut ongelmia [[DNS]]-tasolla. Väliaikaisena ratkaisuna on korvata URL <tt>/etc/apt/sources.list.d/spotify.list</tt> seuraavasti:
| |
|
| |
| deb http://repository-origin.spotify.com stable non-free
| |
|
| |
| Sen jälkeen puhdista [[APT]]-luetteloiden välimuisti. Ja aja päivitys tavalliseen tapaan:
| |
|
| |
| sudo rm /var/lib/apt/lists/* -vf
| |
| sudo apt-get update && sudo apt-get -y upgrade
| |
|
| |
| * [http://askubuntu.com/questions/491373/problem-with-mergelist-var-lib-apt-lists-repository-spotify-com-dists-stable-n Aiheesta muualla]
| |
|
| |
|
| === Fedora === | | === Fedora === |