dtcooper / raspotify

A Spotify Connect client that mostly Just Works™

Home Page:https://dtcooper.github.io/raspotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies too old in default Raspbian setup

Murosic opened this issue · comments

Due Diligence

  • I have done my due diligence

What can we help you with?

Hi, I am happily using Raspotify for a long time, and suddenly it stopped playing. The server could still be found, but there was no sound anymore. After some struggling I tried to reinstall Raspotify, this gives me this message:

$ sudo apt-get install raspotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 raspotify : Depends: libc6 (>= 2.31) but 2.28-10+rpt2+rpi1+deb10u1 is to be installed
             Depends: libasound2 (>= 1.2.4)
             Depends: alsa-utils (>= 1.2.4) but 1.1.8-2+rpt1 is to be installed
             Depends: libpulse0 (>= 14.2) but 12.2-4+deb10u1+rpt3 is to be installed
             Depends: systemd (>= 247.3) but 241-7~deb10u8+rpi1 is to be installed
             Depends: init-system-helpers (>= 1.60) but 1.56+nmu1 is to be installed
E: Unable to correct problems, you have held broken packages.

I don't understand why the newest versions of those packages are not available in the default repository, and/or why Raspotify (suddenly?) depends on packages that are not available in Raspbian.

The repository:

$ grep ^[[:alnum:]] /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

Example for libc6:

$ apt-cache policy libc6
libc6:
  Installed: 2.28-10+rpt2+rpi1+deb10u1
  Candidate: 2.28-10+rpt2+rpi1+deb10u1
  Version table:
 *** 2.28-10+rpt2+rpi1+deb10u1 500
        500 http://archive.raspberrypi.org/debian buster/main armhf Packages
        100 /var/lib/dpkg/status
     2.28-10+rpi1+deb10u1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

I did update and upgrade with

sudo apt-get update && sudo apt-get upgrade

Could you please help me in the right direction to get this working again?

As stated in the README, Raspotify only supports Debian Stable which is currently Debian 11 (Bullseye).

This issue is invalid.