Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: MatyURs 01 Července 2015, 11:58:23
-
Ahoj. Chcel by som si nainštalovať Spotify na moje Ubuntu.... Stále to skúšam, hľadám návody a ani jeden nefunguje... Má to tu niekto odskúšané alebo mi vie pomôcť. V ubuntu som nováčik takže terminál je pre mňa španielska dedina ale už si pomaly zvykám.. Ďakujem za vašu shanu mi pomôcť.
Edit: vyrieštenie mojho problému nájdete nižšie. Problém bol v tom že som mal 32bit verziu Ubuntu 14.04 a omylom som sa pokúšal nainštalovať Spotify pre 64bit verziu...
-
Tohle nefunguje? (zdroj: https://www.spotify.com/cz/download/linux/)
# 1. Add the Spotify repository signing key to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
# 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 update
# 4. Install Spotify
sudo apt install spotify-client
Postup:
1. Otevřít terminál
2. Řádek nezačínající # vyznačíš a zkopíruješ do paměti
3. Myšku nad terminál a kliknout do prostředního tlačítka (kolečka), text se vloží do terminálu.
4. Dáš Enter a potvrdíš případné dotazy
5. postup opakuješ pro všechny další řádky nezačínající #
Raději si přečti Terminál (http://wiki.ubuntu.cz/syst%C3%A9m/p%C5%99%C3%ADkazov%C3%A1%20%C5%99%C3%A1dka/termin%C3%A1l?redirect=1), ať máš alespoň přibližnou představu co děláš.
Pokud s tím budeš mít problémy, tak napiš sem.
(Nezkoušel jsem to, jen tiše předpokládám, že je-li to na stránkách výrobce, tak to funguje.)
-
Raději si přečti Terminál, ať máš alespoň přibližnou představu co děláš
Len doplním - po príkaze začínajúcim sudo ťa terminál vyzve na zadanie hesla. Heslo sa pri písaní nezobrazuje, nech ťa to neprekvapí.
-
Takže nastal problém ako som očakával... Tento postup som robil už niekoľkokrát tak preto mi tam píše že už to existuje.
Viem že príkaz začínajúci "sudo" pýta heslo - prvý krát som zaskočený bol ale teraz som si zvykol.
(http://s21.postimg.org/aplcbp63n/Sn_mka_obrazovky_z_2015_07_01_14_45_39.jpg) (http://postimg.org/image/aplcbp63n/)
-
Výpisy zkopíruj do příspěvku do code (takové to tlačítko se znakem # nad editorem příspěvků). Jak kopírovat ti prozradí dříve uvedený odkaz Terminál (http://wiki.ubuntu.cz/syst%C3%A9m/p%C5%99%C3%ADkazov%C3%A1%20%C5%99%C3%A1dka/termin%C3%A1l?redirect=1).
Jediné co jsem s z toho dočetl je, že máš zkusit dát příkaz:
sudo apt-get updateVýstup dej sem do code (bude to vypadat jako ten příkaz co jsem ti napsal).
-
Tak napísal som "sudo apt-get update" ako si chcel. Tu je výsledok :
maty@Maty-PC:~$ sudo apt-get update
[sudo] password for maty:
Ign http://extras.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Už existuje http://extras.ubuntu.com trusty Release.gpg
Získava sa:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Už existuje http://extras.ubuntu.com trusty Release
Už existuje http://repository.spotify.com stable InRelease
Získava sa:2 http://security.ubuntu.com trusty-security Release [63,5 kB]
Ign http://sk.archive.ubuntu.com trusty InRelease
Už existuje http://extras.ubuntu.com trusty/main Sources
Už existuje http://repository.spotify.com stable/non-free i386 Packages
Ign http://sk.archive.ubuntu.com trusty-updates InRelease
Už existuje http://extras.ubuntu.com trusty/main i386 Packages
Získava sa:3 http://security.ubuntu.com trusty-security/main Sources [87,4 kB]
Ign http://sk.archive.ubuntu.com trusty-backports InRelease
Už existuje http://sk.archive.ubuntu.com trusty Release.gpg
Získava sa:4 http://security.ubuntu.com trusty-security/restricted Sources [2 061 B]
Získava sa:5 http://security.ubuntu.com trusty-security/universe Sources [28,1 kB]
Získava sa:6 http://sk.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Už existuje http://sk.archive.ubuntu.com trusty-backports Release.gpg
Už existuje http://sk.archive.ubuntu.com trusty Release
Získava sa:7 http://security.ubuntu.com trusty-security/multiverse Sources [2 337 B]
Ign http://extras.ubuntu.com trusty/main Translation-sk_SK
Získava sa:8 http://sk.archive.ubuntu.com trusty-updates Release [63,5 kB]
Získava sa:9 http://security.ubuntu.com trusty-security/main i386 Packages [290 kB]
Ign http://extras.ubuntu.com trusty/main Translation-sk
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://repository.spotify.com stable/non-free Translation-sk_SK
Ign http://repository.spotify.com stable/non-free Translation-sk
Ign http://repository.spotify.com stable/non-free Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports Release
Už existuje http://sk.archive.ubuntu.com trusty/main Sources
Už existuje http://sk.archive.ubuntu.com trusty/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-en
Získava sa:10 http://security.ubuntu.com trusty-security/restricted i386 Packages [8 846 B]
Získava sa:11 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-sk
Získava sa:12 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3 854 B]
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-en
Už existuje http://security.ubuntu.com trusty-security/main Translation-en
Už existuje http://security.ubuntu.com trusty-security/multiverse Translation-en
Už existuje http://security.ubuntu.com trusty-security/restricted Translation-en
Získava sa:13 http://security.ubuntu.com trusty-security/universe Translation-en [64,0 kB]
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-en
Získava sa:14 http://sk.archive.ubuntu.com trusty-updates/main Sources [212 kB]
Ign http://archive.canonical.com trusty InRelease
Už existuje http://archive.canonical.com trusty Release.gpg
Už existuje http://archive.canonical.com trusty Release
Už existuje http://archive.canonical.com trusty/partner i386 Packages
Získava sa:15 http://sk.archive.ubuntu.com trusty-updates/restricted Sources [3 433 B]
Získava sa:16 http://sk.archive.ubuntu.com trusty-updates/universe Sources [123 kB]
Ign http://archive.canonical.com trusty/partner Translation-en
Získava sa:17 http://sk.archive.ubuntu.com trusty-updates/multiverse Sources [5 151 B]
Získava sa:18 http://sk.archive.ubuntu.com trusty-updates/main i386 Packages [548 kB]
Získava sa:19 http://sk.archive.ubuntu.com trusty-updates/restricted i386 Packages [11,8 kB]
Získava sa:20 http://sk.archive.ubuntu.com trusty-updates/universe i386 Packages [292 kB]
Získava sa:21 http://sk.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Už existuje http://sk.archive.ubuntu.com trusty-updates/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/restricted Translation-en
Získava sa:22 http://sk.archive.ubuntu.com trusty-updates/universe Translation-en [154 kB]
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://sk.archive.ubuntu.com trusty/main Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/multiverse Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/restricted Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/universe Translation-sk_SK
2 088 kB sa stiahlo za 14 s (144 kB/s)
Načítavajú sa zoznamy balíkov... Hotovo
W: Duplicate sources.list entry http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Na opravu týchto problémov môžete skúsiť spustiť apt-get update
maty@Maty-PC:~$
-
Zadej postupně po sobě následující příkazy. Výpis z toho druhého sem můžeš pro jistotu vložit, ať vidíme, jestli je to už v pořádku.
sudo awk '!a[$0]++' /etc/apt/sources.list
sudo apt-get update
Pak budeme pokračovat.
(První příkaz jsem našel na internetu, tak pevně doufám že bude fungovat.)
-
Urobil som to ako si písal. Tu je kód :
maty@Maty-PC:~$ sudo awk '!a[$0]++' /etc/apt/sources.list
[sudo] password for maty:
# deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release i386 (20150218.1)]/ trusty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://sk.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://sk.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://sk.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty universe
deb http://sk.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://sk.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://sk.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://sk.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://sk.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
##This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb http://archive.canonical.com/ trusty partner
# deb-src http://archive.canonical.com/ trusty partner
deb-src http://extras.ubuntu.com/ubuntu trusty main
#Spotify
deb http://repository.spotify.com stable non-free
# deb-src http://repository.spotify.com stable non-free
maty@Maty-PC:~$ sudo apt-get update
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Už existuje http://archive.canonical.com trusty Release.gpg
Už existuje http://extras.ubuntu.com trusty Release.gpg
Už existuje http://archive.canonical.com trusty Release
Už existuje http://extras.ubuntu.com trusty Release
Už existuje http://repository.spotify.com stable InRelease
Ign http://sk.archive.ubuntu.com trusty InRelease
Už existuje http://archive.canonical.com trusty/partner i386 Packages
Už existuje http://extras.ubuntu.com trusty/main Sources
Ign http://sk.archive.ubuntu.com trusty-updates InRelease
Už existuje http://archive.canonical.com trusty/partner Translation-en
Už existuje http://extras.ubuntu.com trusty/main i386 Packages
Už existuje http://repository.spotify.com stable/non-free i386 Packages
Ign http://sk.archive.ubuntu.com trusty-backports InRelease
Už existuje http://sk.archive.ubuntu.com trusty Release.gpg
Získava sa:1 http://sk.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Už existuje http://sk.archive.ubuntu.com trusty-backports Release.gpg
Už existuje http://sk.archive.ubuntu.com trusty Release
Ign http://extras.ubuntu.com trusty/main Translation-sk_SK
Ign http://extras.ubuntu.com trusty/main Translation-sk
Získava sa:2 http://sk.archive.ubuntu.com trusty-updates Release [63,5 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://repository.spotify.com stable/non-free Translation-sk_SK
Ign http://repository.spotify.com stable/non-free Translation-sk
Ign http://repository.spotify.com stable/non-free Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports Release
Už existuje http://sk.archive.ubuntu.com trusty/main Sources
Už existuje http://sk.archive.ubuntu.com trusty/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-en
Získava sa:3 http://sk.archive.ubuntu.com trusty-updates/main Sources [212 kB]
Ign http://security.ubuntu.com trusty-security InRelease
Získava sa:4 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Získava sa:5 http://security.ubuntu.com trusty-security Release [63,5 kB]
Získava sa:6 http://sk.archive.ubuntu.com trusty-updates/restricted Sources [3 433 B]
Získava sa:7 http://sk.archive.ubuntu.com trusty-updates/universe Sources [123 kB]
Získava sa:8 http://sk.archive.ubuntu.com trusty-updates/multiverse Sources [5 151 B]
Získava sa:9 http://security.ubuntu.com trusty-security/main Sources [87,4 kB]
Získava sa:10 http://sk.archive.ubuntu.com trusty-updates/main i386 Packages [548 kB]
Získava sa:11 http://security.ubuntu.com trusty-security/restricted Sources [2 061 B]
Získava sa:12 http://security.ubuntu.com trusty-security/universe Sources [28,1 kB]
Získava sa:13 http://security.ubuntu.com trusty-security/multiverse Sources [2 337 B]
Získava sa:14 http://security.ubuntu.com trusty-security/main i386 Packages [290 kB]
Získava sa:15 http://sk.archive.ubuntu.com trusty-updates/restricted i386 Packages [11,8 kB]
Získava sa:16 http://sk.archive.ubuntu.com trusty-updates/universe i386 Packages [292 kB]
Získava sa:17 http://security.ubuntu.com trusty-security/restricted i386 Packages [8 846 B]
Získava sa:18 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Získava sa:19 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3 854 B]
Už existuje http://security.ubuntu.com trusty-security/main Translation-en
Už existuje http://security.ubuntu.com trusty-security/multiverse Translation-en
Už existuje http://security.ubuntu.com trusty-security/restricted Translation-en
Už existuje http://security.ubuntu.com trusty-security/universe Translation-en
Získava sa:20 http://sk.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Už existuje http://sk.archive.ubuntu.com trusty-updates/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/universe Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://sk.archive.ubuntu.com trusty/main Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/multiverse Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/restricted Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/universe Translation-sk_SK
1 870 kB sa stiahlo za 16 s (112 kB/s)
Načítavajú sa zoznamy balíkov... Hotovo
W: Duplicate sources.list entry http://repository.spotify.com/ stable/non-free i386 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-i386_Packages)
W: Na opravu týchto problémov môžete skúsiť spustiť apt-get update
maty@Maty-PC:~$
-
Takže jinak spusť nautilus jako root např takto:
sudo -i
nautilus /etc/apt/sources.list.d/&
Zobrazí se ti seznam souborů v adresáři /etc/apt/sources.list.d
Tady si počínej opatrně, jsi root.
Smaž všechny soubory co mají v názvu spotify.
Ukonči nautilus. V terminálu dej příkaz: exitPak opakuj již dříve popsaný postup.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install spotify-client
-
Urobil som to presne ako si napísal. Vymazal som všetky Spotify súbory ale hneď na začiatku mi niečo vyskočilo (niečo že nieje možné vytvoriť nový adresár). Tu je kód :
maty@Maty-PC:~$ sudo -i
root@Maty-PC:~# nautilus /etc/apt/sources.list.d/&
[1] 4672
root@Maty-PC:~#
(nautilus:4672): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(nautilus:4672): GLib-GIO-WARNING **: Missing callback called fullpath = /root/.config/user-dirs.dirs
(nautilus:4672): GLib-CRITICAL **: Source ID 171 was not found when attempting to remove it
(nautilus:4672): GLib-CRITICAL **: Source ID 172 was not found when attempting to remove it
(nautilus:4672): GLib-CRITICAL **: Source ID 173 was not found when attempting to remove it
exit
odhlásenie
Stále mi tam vypisuje : W: Na opravu týchto problémov môžete skúsiť spustiť apt-get update
a ešte toto E: Nedá sa nájsť balík spotify-client
...
-
tady http://repository.spotify.com/pool/non-free/s/spotify-client/ (http://repository.spotify.com/pool/non-free/s/spotify-client/) si stáhni deb balíček a nainstaluj ho
-
Ta hlášení od Nautilus jsou irelevantní.
To by mne zajímalo, kde je to až zakutané.
Zkusíme se na to podívat z GUI
Dej: Nastavení systému v něm spusť Software & Aktualizace záložku Nastavení systému podívej se jestli tam nemáš nějaké zdroje pro Spotify smaž je.
Proveď: sudo apt-get update Výsledek sem pošli. Pokud tam ještě stále bude to hlášení, že tam je Spotify zdroj vícekrát, pošli ještě výpisy z následujících příkazů:
ls /etc/apt/sources.list.d/
cat /etc/apt/sources.list
Chybga že se nedá nají balík spotify-client nejspíše souvisí s tím zmatkem co je ve zdrojích. Budeme ho řešit až vyřešíme zdroje.
To lajka27 to půjde až se dají dohromady ty zdroje.
-
Urobil som presne tak ako si napísal. Tu je kód :
maty@Maty-PC:~$ sudo apt-get update
[sudo] password for maty:
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Už existuje http://archive.canonical.com trusty Release.gpg
Už existuje http://extras.ubuntu.com trusty Release.gpg
Už existuje http://archive.canonical.com trusty Release
Už existuje http://extras.ubuntu.com trusty Release
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://sk.archive.ubuntu.com trusty InRelease
Už existuje http://archive.canonical.com trusty/partner i386 Packages
Už existuje http://extras.ubuntu.com trusty/main Sources
Už existuje http://security.ubuntu.com trusty-security Release.gpg
Už existuje http://extras.ubuntu.com trusty/main i386 Packages
Ign http://sk.archive.ubuntu.com trusty-updates InRelease
Ign http://archive.canonical.com trusty/partner Translation-en
Už existuje http://security.ubuntu.com trusty-security Release
Ign http://sk.archive.ubuntu.com trusty-backports InRelease
Už existuje http://security.ubuntu.com trusty-security/main Sources
Už existuje http://sk.archive.ubuntu.com trusty Release.gpg
Už existuje http://security.ubuntu.com trusty-security/restricted Sources
Získava sa:1 http://sk.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Už existuje http://security.ubuntu.com trusty-security/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports Release.gpg
Už existuje http://security.ubuntu.com trusty-security/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty Release
Ign http://extras.ubuntu.com trusty/main Translation-sk_SK
Už existuje http://security.ubuntu.com trusty-security/main i386 Packages
Ign http://extras.ubuntu.com trusty/main Translation-sk
Získava sa:2 http://sk.archive.ubuntu.com trusty-updates Release [63,5 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en
Už existuje http://security.ubuntu.com trusty-security/restricted i386 Packages
Už existuje http://security.ubuntu.com trusty-security/universe i386 Packages
Už existuje http://security.ubuntu.com trusty-security/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports Release
Už existuje http://security.ubuntu.com trusty-security/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/main Sources
Už existuje http://security.ubuntu.com trusty-security/multiverse Translation-en
Už existuje http://security.ubuntu.com trusty-security/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/restricted Sources
Už existuje http://security.ubuntu.com trusty-security/universe Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-en
Získava sa:3 http://sk.archive.ubuntu.com trusty-updates/main Sources [212 kB]
Získava sa:4 http://sk.archive.ubuntu.com trusty-updates/restricted Sources [3 433 B]
Získava sa:5 http://sk.archive.ubuntu.com trusty-updates/universe Sources [123 kB]
Získava sa:6 http://sk.archive.ubuntu.com trusty-updates/multiverse Sources [5 151 B]
Získava sa:7 http://sk.archive.ubuntu.com trusty-updates/main i386 Packages [548 kB]
Získava sa:8 http://sk.archive.ubuntu.com trusty-updates/restricted i386 Packages [11,8 kB]
Získava sa:9 http://sk.archive.ubuntu.com trusty-updates/universe i386 Packages [292 kB]
Získava sa:10 http://sk.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Už existuje http://sk.archive.ubuntu.com trusty-updates/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/universe Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://sk.archive.ubuntu.com trusty/main Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/multiverse Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/restricted Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/universe Translation-sk_SK
1 272 kB sa stiahlo za 14 s (85,1 kB/s)
Načítavajú sa zoznamy balíkov... Hotovo
maty@Maty-PC:~$
A čo teraz ?
-
no teď instalace spotify:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install spotify-clientA doufat že to půjde.
-
Takže zase sa to nepodarilo, neviem v čom je chyba... Nedá sa to urobiť cez "grafický" spôsob ? Nechápem prečo mi to nejde. Posielam kód :
maty@Maty-PC:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
[sudo] password for maty:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.csyTs38Sva --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2C19886
gpg: requesting key D2C19886 from hkp server keyserver.ubuntu.com
gpg: kľúč D2C19886: "Spotify Public Repository Signing Key <operations@spotify.com>" bez zmien
gpg: Celkovo spracovaných kľúčov: 1
gpg: bez zmien: 1
maty@Maty-PC:~$ echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
deb http://repository.spotify.com stable non-free
maty@Maty-PC:~$ sudo apt update
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Získava sa:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Už existuje http://archive.canonical.com trusty Release.gpg
Už existuje http://extras.ubuntu.com trusty Release.gpg
Získava sa:2 http://security.ubuntu.com trusty-security Release [63,5 kB]
Už existuje http://archive.canonical.com trusty Release
Získava sa:3 http://repository.spotify.com stable InRelease [3 285 B]
Už existuje http://archive.canonical.com trusty/partner i386 Packages
Už existuje http://archive.canonical.com trusty/partner Translation-en
Už existuje http://extras.ubuntu.com trusty Release
Už existuje http://extras.ubuntu.com trusty/main Sources
Už existuje http://extras.ubuntu.com trusty/main i386 Packages
Získava sa:4 http://repository.spotify.com stable/non-free i386 Packages [20 B]
Získava sa:5 http://security.ubuntu.com trusty-security/main Sources [87,5 kB]
Ign http://extras.ubuntu.com trusty/main Translation-sk_SK
Ign http://extras.ubuntu.com trusty/main Translation-sk
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://repository.spotify.com stable/non-free Translation-sk_SK
Ign http://repository.spotify.com stable/non-free Translation-sk
Ign http://repository.spotify.com stable/non-free Translation-en
Získava sa:6 http://security.ubuntu.com trusty-security/restricted Sources [2 061 B]
Získava sa:7 http://security.ubuntu.com trusty-security/universe Sources [28,1 kB]
Ign http://sk.archive.ubuntu.com trusty InRelease
Ign http://sk.archive.ubuntu.com trusty-updates InRelease
Získava sa:8 http://security.ubuntu.com trusty-security/multiverse Sources [2 337 B]
Získava sa:9 http://security.ubuntu.com trusty-security/main i386 Packages [294 kB]
Ign http://sk.archive.ubuntu.com trusty-backports InRelease
Už existuje http://sk.archive.ubuntu.com trusty Release.gpg
Získava sa:10 http://sk.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Už existuje http://sk.archive.ubuntu.com trusty-backports Release.gpg
Už existuje http://sk.archive.ubuntu.com trusty Release
Získava sa:11 http://sk.archive.ubuntu.com trusty-updates Release [63,5 kB]
Už existuje http://sk.archive.ubuntu.com trusty-backports Release
Už existuje http://sk.archive.ubuntu.com trusty/main Sources
Už existuje http://sk.archive.ubuntu.com trusty/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-sk
Už existuje http://sk.archive.ubuntu.com trusty/universe Translation-en
Získava sa:12 http://sk.archive.ubuntu.com trusty-updates/main Sources [212 kB]
Získava sa:13 http://sk.archive.ubuntu.com trusty-updates/restricted Sources [3 433 B]
Získava sa:14 http://sk.archive.ubuntu.com trusty-updates/universe Sources [123 kB]
Získava sa:15 http://sk.archive.ubuntu.com trusty-updates/multiverse Sources [5 151 B]
Získava sa:16 http://sk.archive.ubuntu.com trusty-updates/main i386 Packages [554 kB]
Získava sa:17 http://sk.archive.ubuntu.com trusty-updates/restricted i386 Packages [11,8 kB]
Získava sa:18 http://sk.archive.ubuntu.com trusty-updates/universe i386 Packages [293 kB]
Získava sa:19 http://sk.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12,1 kB]
Získava sa:20 http://sk.archive.ubuntu.com trusty-updates/main Translation-en [274 kB]
Už existuje http://sk.archive.ubuntu.com trusty-updates/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-updates/universe Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Sources
Už existuje http://sk.archive.ubuntu.com trusty-backports/main i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Už existuje http://sk.archive.ubuntu.com trusty-backports/main Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/multiverse Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/restricted Translation-en
Už existuje http://sk.archive.ubuntu.com trusty-backports/universe Translation-en
Ign http://sk.archive.ubuntu.com trusty/main Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/multiverse Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/restricted Translation-sk_SK
Ign http://sk.archive.ubuntu.com trusty/universe Translation-sk_SK
Získava sa:21 http://security.ubuntu.com trusty-security/main i386 Packages [294 kB]
Získava sa:22 http://security.ubuntu.com trusty-security/restricted i386 Packages [8 846 B]
Získava sa:23 http://security.ubuntu.com trusty-security/universe i386 Packages [111 kB]
Získava sa:24 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3 854 B]
Získava sa:25 http://security.ubuntu.com trusty-security/main Translation-en [163 kB]
Už existuje http://security.ubuntu.com trusty-security/multiverse Translation-en
Už existuje http://security.ubuntu.com trusty-security/restricted Translation-en
Už existuje http://security.ubuntu.com trusty-security/universe Translation-en
2 321 kB sa stiahlo za 2 min 14 s (17,2 kB/s)
Načítavajú sa zoznamy balíkov... Hotovo
maty@Maty-PC:~$ sudo apt install spotify-client
Načítavajú sa zoznamy balíkov... Hotovo
Vytvára sa strom závislostí
Načítavajú sa stavové informácie... Hotovo
E: Nedá sa nájsť balík spotify-client
maty@Maty-PC:~$
Každopádne ti ďakujem za tvoju snahu , dávam ti potlesk.
-
Zkus to přidat manuálně ve zdrojích softwaru a poté to přes terminál nainstalovat.
sudo apt-get install spotify-client
-
Urobil som všetko podľa tvojho postupu no napriek tomu to nefunguje.
maty@Maty-PC:~$ sudo apt-get install spotify-client
Načítavajú sa zoznamy balíkov... Hotovo
Vytvára sa strom závislostí
Načítavajú sa stavové informácie... Hotovo
E: Nedá sa nájsť balík spotify-client
maty@Maty-PC:~$
Som už zúfalý, nedá sa to obísť iným spôsobom ?
-
Tak co zkusit jinou instalaci než tu co popisují na stránkách spotify.
Zkus třeba to podle tohoto odkazu: http://howtoubuntu.org/how-to-install-spotify-in-ubuntu
Pozor musí se to vybrat najednou a také najednou vložit do terminálu. A také mít trpělivost, chvíli se zdá že se nic neděje.
sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free" &&
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 &&
sudo apt-get update -qq &&
sudo apt-get install spotify-client
EDIT: úprava postupu
-
Stále nič.
maty@Maty-PC:~$ sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free" &&
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 &&
> sudo apt-get update -qq &&
> sudo apt-get install spotify-client
[sudo] password for maty:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.DUrpW7b7us --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 94558F59
gpg: requesting key 94558F59 from hkp server keyserver.ubuntu.com
gpg: kľúč 94558F59: "Spotify Public Repository Signing Key <operations@spotify.com>" bez zmien
gpg: Celkovo spracovaných kľúčov: 1
gpg: bez zmien: 1
Načítavajú sa zoznamy balíkov... Hotovo
Vytvára sa strom závislostí
Načítavajú sa stavové informácie... Hotovo
E: Nedá sa nájsť balík spotify-client
maty@Maty-PC:~$
-
Tak zkus rovnou .deb soubor
http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.7.153.gb9e8174a_amd64.deb
-
nebude nakonec finta v tom, že by dotyčný mohl mít 32b os a tenhle sw je pro 64b? :-)
-
nebude nakonec finta v tom, že by dotyčný mohl mít 32b os a tenhle sw je pro 64b? :-)
Člověče možná máš pravdu, protože z výpisů to vypadá na 32bit systém.
To mě ani nenapadlo, že by v tom mohl být problém.
MatyURs pošli výpisy následujících příkazů:uname -a
lsb_release -a
-
Áno mám 32bit Ubuntu 14.04 . Ospravedlňujem sa že som to nenapísal skôr ale ja som vôbec nevedel že to s tým súvisí....
maty@Maty-PC:~$ uname -a
Linux Maty-PC 3.16.0-43-generic #58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:00 UTC 2015 i686 i686 i686 GNU/Linux
maty@Maty-PC:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
-
Tady ti moc neporadím, protože na internetu jsem zatím našel jen to, že verze pro 32bit není. Ještě trochu pohledám a najdu-li něco dám to sem.
-
Není to úplně nejnovější verze, která je k dispozici, ale měla by fungovat verze 0.9.4.183.
http://packages.bodhilinux.com/bodhi/pool/stable/s/spotify/spotify-client_0.9.4.183.g644e24e.428-1_i386.deb
-
Ďakujem všetkým čo sa pripojili k tejto téme, ďakujem hlavne : Ellendway, Myrmica a jmp .... Takže tento link je na moju 32bit verziu Ubuntu 14.04 funkčná : http://packages.bodhilinux.com/bodhi/pool/stable/s/spotify/spotify-client_0.9.4.183.g644e24e.428-1_i386.deb (http://packages.bodhilinux.com/bodhi/pool/stable/s/spotify/spotify-client_0.9.4.183.g644e24e.428-1_i386.deb)
Ďakujem ešte raz ! .