How to uninstall Spotify [duplicate]

Use this command for uninstall spotify-client :

sudo apt-get purge spotify-client

This won't be solved by uninstalling Spotify, only by removing the Spotify apt repository from your list of apt repositories.

Editing /etc/apt/sources.list or possibly some file in /etc/apt/source.list.d/ like fhuertas suggests will work.

If you don't want to edit files, you can start Software & Updates, go to the tab Other Software and uncheck http://repository.spotify.com stable non-free

This is both a problem with the Spotify repository and apt itself.

  • The repository is clearly broken. If you look at the file mentioned being broken, you see it contains HTML.
  • It is bad of apt to die like this, preventing even critical security upgrades from installing, because of a bad third party repository is broken.

I work at Spotify. We suck! We will fix.


These terminal commands should solve your problem:

First remove the Merge List by opening a terminal (Press Ctrl+Alt+T to launch) and run this command:

sudo rm /var/lib/apt/lists/* -vf

Next, generate a new one by running a simple update:

sudo apt-get update

Now you should be able to run

sudo apt-get remove --purge spotify-client


If the problem persists after Charles Green's solution, You must remove the repository from the places that you have set it.

Im my case, I had the repository en the file: /etc/apt/sources.list and I have removed it adding the # in the line symbol before the line deb http://repository.spotify.com stable non-free

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

The repository can be in the /etc/apt/source.list.d/ directory, you must search for a spotify file and remove it

After then update and upgrade the with apt-get tools


I had the same issue and I found the solution at the Spotify forum. Credits to webrunner1981.

Here are the steps:

  1. Go to software sources (search software & updates) and find the spotify line
  2. Modify the url to http://repository-origin.spotify.com stable non-free for (source code) as well. Add the -origin in the url.
  3. In terminal then run the following commands:

    sudo rm /var/lib/apt/lists/* -vf

    and now you can perform the update and everything should be working.

    sudo apt-get update

This should fix everything, so you don't have to uninstall. Good luck.