I´m trying to install a Spotify Client on Jessie Lite on my Raspberry Pi 3, but i always get the following error:
W: Failed to fetch http://repository.spotify.com/dists/testing/InRelease Unable to find expected entry 'non-free/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
How can i fix this?
Solved! Go to Solution.
You can not fix this.
A Raspberry Pi has a CPU that the desktop client does not support. The error message from apt is pretty bad, but I can see it in your error.
It tries to fetch available packages for binary-armhf and since there are no packages for armhf, there is also no packages file and apt fails with that error message.
We at Spotify could fix this, but it requires some work (most of the code already works on armhf) and might not happen. At least there has not been anything announced.
It is however highly likely that there will be a new Spotify library available for armhf eventually. The Libspotify SDK page https://developer.spotify.com/technologies/libspotify/ says 2016, but I think time is running out for a 2016 release.
With that library, you could write your own client.