Announcements
The Spotify Stars Program: Celebrating Values Week!

Help Wizard

Step 1

NEXT STEP

Debian Gnome cant install spotify

Debian Gnome cant install spotify

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!

Reply
3 Replies


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

That is not true.

ok thanks.


@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

Suggested posts