Install Spotify

Questions about applications and software
Forum rules
Before you post please read how to get help

Install Spotify

Postby fsrgio on Thu Jun 20, 2013 2:36 pm

Hey there, just installed the new linux Mint 15 and im loving it! But i can install the Spotify. I am doing it like this:


sudo add-apt-repository "deb http://repository.spotify.com stable non-free"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client

Cant add the PPA and so it wont find any Spotify packages. Am i doing anything wrong?
User avatar
fsrgio
Level 1
Level 1
 
Posts: 2
Joined: Wed Jun 19, 2013 10:36 am

Linux Mint is funded by ads and donations.
 

Re: Install Spotify

Postby Mindcloud on Thu Jun 20, 2013 4:27 pm

It will work if instead of using add-apt-repository you add manually

deb http://repository.spotify.com stable non-free

to

/etc/apt/sources.list

and then follow the rest of your steps from step 2
Mindcloud
Level 1
Level 1
 
Posts: 1
Joined: Thu Jun 20, 2013 4:24 pm

Re: Install Spotify

Postby fsrgio on Thu Jun 20, 2013 7:41 pm

Just installed Wine and donwload the windows file from Spotify site and installed like in windows. Thank you anyway Mindcloud :wink:
User avatar
fsrgio
Level 1
Level 1
 
Posts: 2
Joined: Wed Jun 19, 2013 10:36 am

Re: Install Spotify

Postby girlfrommars on Sat Aug 10, 2013 10:35 am

Mindcloud wrote:It will work if instead of using add-apt-repository you add manually

deb http://repository.spotify.com stable non-free

to

/etc/apt/sources.list

and then follow the rest of your steps from step 2


I am getting this error too but I don't understand these instructions. I am brand new to linux. Could someone give me a step by step on this please?
girlfrommars
Level 1
Level 1
 
Posts: 2
Joined: Sat Aug 03, 2013 3:57 am

Re: Install Spotify

Postby skytale on Fri Aug 16, 2013 10:36 pm

girlfrommars wrote:
Mindcloud wrote:It will work if instead of using add-apt-repository you add manually

deb http://repository.spotify.com stable non-free

to

/etc/apt/sources.list

and then follow the rest of your steps from step 2


I am getting this error too but I don't understand these instructions. I am brand new to linux. Could someone give me a step by step on this please?

step 1 open terminal, while in terminal first copy and paste or type if you like the following line

sudo gedit /etc/apt/sources.list

a text document will open, go to the next free line down, and add the next line of text

deb http://repository.spotify.com stable non-free

close and save document when it prompts you to

step 2

add the next 3 lines one at a time hit enter and proceed when prompted

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59

sudo apt-get update

sudo apt-get install spotify-client

step 3

open spotify from your menu

ps - welcome to the wonderful world of linux
skytale
Level 1
Level 1
 
Posts: 4
Joined: Thu Aug 15, 2013 4:09 pm

Re: Install Spotify

Postby Shorty007 on Sat Aug 17, 2013 3:51 am

Hi,

I installed Spotify v 0.9.1.55 on my Linux Mint 13 Mate.
It works, but the discover page won't load..
Do i have a wrong version maybe?

I just found a .deb file on the internet yesterday and installed it :)
Shorty007
Level 1
Level 1
 
Posts: 11
Joined: Wed May 30, 2012 3:12 pm

Re: Install Spotify

Postby sevengroove on Sat Sep 28, 2013 12:06 pm

Hi there,

I'm new to the world of linux as well, and have been trying to install Spotify but I keep running into errors. I followed the steps outlined above, but I get an error during the last command:

sudo apt-get install spotify-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
spotify-client : Depends: libssl0.9.8 but it is not installable
Depends: libnspr4-0d but it is not installable
W: Duplicate sources.list entry http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
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: You may want to run apt-get update to correct these problems
E: Unable to correct problems, you have held broken packages.

When I ran apt-get update, I got the following message:
E: Some index files failed to download. They have been ignored, or old ones used instead.

Can anyone tell me what I'm missing? THanks. :mrgreen:
sevengroove
Level 1
Level 1
 
Posts: 1
Joined: Sat Sep 28, 2013 12:02 pm

Re: Install Spotify

Postby pjhalsli on Tue Oct 22, 2013 8:48 am

The following packages have unmet dependencies:
spotify-client : Depends: libssl0.9.8 but it is not installable
Depends: libnspr4-0d but it is not installable
W: Duplicate sources.list entry http://repository.spotify.com/ stable/non-free amd64 Packages (/var/lib/apt/lists/repository.spotify.com_dists_stable_non-free_binary-amd64_Packages)
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: You may want to run apt-get update to correct these problems
E: Unable to correct problems, you have held broken packages.

When I ran apt-get update, I got the following message:
E: Some index files failed to download. They have been ignored, or old ones used instead.



I have the exact same problem. Solution anyone?
Too old to know better --- Still too young to care
User avatar
pjhalsli
Level 1
Level 1
 
Posts: 16
Joined: Mon Jul 22, 2013 7:17 am

Re: Install Spotify

Postby KevBuntu on Sat Nov 16, 2013 8:34 pm

I have the same issue, works in Cinnamon for me, does not work for me in Mate, I get the "failed to load skin" message.
KevBuntu
Level 1
Level 1
 
Posts: 1
Joined: Sat Jun 09, 2012 12:48 pm

Re: Install Spotify

Postby gestell on Fri Nov 29, 2013 8:05 pm

I'm using the latest version of Linux Mint Debian Edition (with MATE as a desktop environment) and my Spotify works well.
Except the problem that Spotify is not avaliable in my country so i have to use VPN.
gestell
Level 1
Level 1
 
Posts: 2
Joined: Thu Nov 07, 2013 12:46 am

Re: Install Spotify

Postby snor on Sun Dec 29, 2013 12:35 pm

I am new to Linux Mint. Just installed Linux Mint 16 Cinnamon.
Followed the instructions of Skytale and it worked fine for me. :D Thanks Skytale
snor
Level 1
Level 1
 
Posts: 1
Joined: Sun Dec 29, 2013 12:31 pm

Re: Install Spotify

Postby Beaupedia on Wed Jan 22, 2014 4:02 am

skytale wrote:step 1 open terminal, while in terminal first copy and paste or type if you like the following line

sudo gedit /etc/apt/sources.list

a text document will open, go to the next free line down, and add the next line of text

deb http://repository.spotify.com stable non-free

close and save document when it prompts you to

step 2

add the next 3 lines one at a time hit enter and proceed when prompted

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59

sudo apt-get update

sudo apt-get install spotify-client

step 3

open spotify from your menu

ps - welcome to the wonderful world of linux


Thank you for spelling it out for us noobs! Worked perfectly.
Beaupedia
Level 1
Level 1
 
Posts: 4
Joined: Wed Nov 20, 2013 5:39 am

Re: Install Spotify

Postby ivanBezdomny on Thu Jul 16, 2015 10:04 am

Hi everyone,

this solution didn't help me. I've been in every forums but nothing helped me. I pasted what happends when I do 'apt-get update'.
http://pastie.org/10296764

and that's my my sources.list:
user / # cat etc/apt/sources.list
#deb cdrom:[Linux Mint 17.1 _Rebecca_ - Release amd64 20141126]/ trusty contrib main non-free
deb http://repository.spotify.com stable non-free

I new in linux mint.
I will be grateful for your help.
ivanBezdomny
Level 1
Level 1
 
Posts: 3
Joined: Thu Jul 16, 2015 9:55 am

Re: Install Spotify

Postby karlchen on Thu Jul 16, 2015 10:18 am

Hello, ivanBezdomny.

The solution may not have helped you, because it had been given for a much older Linux Mint version a year ago. (And most post are even older, 2 to 2.5 years.)
"apt update" complains about duplicate spotify entries in your sources list files. There is more than just /etc/apt/sources.list.
Please, post the complete screen output generated by the terminal command
Code: Select all
inxi -r

Cheers,
Karl
User avatar
karlchen
Level 14
Level 14
 
Posts: 5160
Joined: Sat Dec 31, 2011 7:21 am

Re: Install Spotify

Postby ivanBezdomny on Thu Jul 16, 2015 10:40 am

user / # inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://repository.spotify.com stable non-free
Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb http://repository.spotify.com stable non-free
Active apt sources in file: /etc/apt/sources.list.d/heroku.list
deb http://toolbelt.heroku.com/ubuntu ./
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com rebecca main upstream import #id:linuxmint_main
deb http://extra.linuxmint.com rebecca main #id:linuxmint_extra
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Active apt sources in file: /etc/apt/sources.list.d/spotify.list
deb http://repository.spotify.com stable non-free
ivanBezdomny
Level 1
Level 1
 
Posts: 3
Joined: Thu Jul 16, 2015 9:55 am

Re: Install Spotify

Postby karlchen on Thu Jul 16, 2015 5:53 pm

Hello, ivanBezdomy.

If I count correctly, there are 3 sources list file specifying the Spotify repository:
Code: Select all
Active apt sources in file: /etc/apt/sources.list
deb http://repository.spotify.com stable non-free

Code: Select all
Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb http://repository.spotify.com stable non-free

Code: Select all
Active apt sources in file: /etc/apt/sources.list.d/spotify.list
deb http://repository.spotify.com stable non-free

As the relevant line "deb http://repository.spotify.com stable non-free" in all 3 files is identical, it does not really matter which of the 3 entries you keep. Therefore my suggestion is to open a terminal window and execute the following commandline
Code: Select all
sudo rm /etc/apt/sources.list.d/additional-repositories.list /etc/apt/sources.list.d/spotify.list

Then try your commandline
Code: Select all
apt update
or
Code: Select all
sudo apt-get update
again. No more errors should be reported.

Kind regards,
Karl
User avatar
karlchen
Level 14
Level 14
 
Posts: 5160
Joined: Sat Dec 31, 2011 7:21 am

Re: Install Spotify

Postby ivanBezdomny on Fri Jul 17, 2015 3:00 am

Thank You Karl,
everything works fine now.
ivanBezdomny
Level 1
Level 1
 
Posts: 3
Joined: Thu Jul 16, 2015 9:55 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 16 guests