Debian Gnome cant install spotify

Reply

Debian Gnome cant install spotify

Rover0
Casual Listener

Plan

Premium For Family

Country

 

Device

Desktop

Operating System

Debian Gnome (X86_64)

 

My Question or Issue

So, I can't install Spotify on my Debian system. I've tried even other websites outside of spotify.com. Though none seem to work. All I get is an error that says that it failed to locate the package:

 

sudo apt-get install spotify-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
N: Ignoring file 'spotify.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package spotify-client

 

Thank You!

3 Replies

Re: Debian Gnome cant install spotify

dlu
Gig Goer

All I get is an error that says that it failed to locate the package

That is not true.

Re: Debian Gnome cant install spotify

Rover0
Casual Listener
ok thanks.
Highlighted

Re: Debian Gnome cant install spotify

Rising Star 13 ArtGravity
Rising Star 13

@Rover0 wrote:


N: Ignoring file 'spotify.lis' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package spotify-client


The output you provided indicates that your package manager is ignoring the repo you added because the filename should end in .list not .lis

 

$ sudo mv /etc/apt/sources.list.d/spotify.lis /etc/apt/sources.list.d/spotify.list

$ sudo apt update

$ sudo apt install spotify-client

 

I would encourage moving away from the apt packaged version to the snap version if you can, since it been the preferred release for a couple of years now.

 

If you decide to install the snap app, you will need to first install snapd and then spotify:

$ sudo apt install snapd

$ sudo snap install spotify

ArtGravityRising Star 13
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
SUGGESTED POSTS