spotify-client package is using `xdg-icon-resource` during install, this program comes with `xdg-utils` package but spotify-client doesn't have this package in `Depends` field. Installation kept failed until I installed `xdg-utils` package.
Install minbase variant of Debian Jessie.
Try to install spotify-client from spotfiy repositories.
Installation will fail with:
Setting up spotify-client (1:18.104.22.168.gf959d4ce-37) ...
Error: Could not find xdg-icon-resource
dpkg: error processing package spotify-client (--configure):
subprocess installed post-installation script returned error exit status 1
Workaround for users:
Install `xdg-utils` package.
Workaround for Spotify developers:
Add `xdg-utils` package into `Depends` field of `spotify-client` package.