I tried to install Spotify and I now have this error message. I am running Ubuntu 16.04. Please help me get rid of it.
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list
E: The list of sources could not be read.
Solved! Go to Solution.
The word sudo has ended up in that file, probably as a consequence of following the tricky installation directions on: https://www.spotify.com/download/linux/
First remove that file, by openign a terminal and typing:
sudo rm /etc/apt/sources.list.d/spotify.list
To make sure you got rid of the problem, type:
sudo apt update
It should spit out lots of urls that it is downloading, but it should not say that error message.
After that is done, see if you can just click on this link and download and install spotify: