badaix / snapcast

Synchronous multiroom audio player
GNU General Public License v3.0
6.21k stars 456 forks source link

Snapcast server 0.27 can't be installed on Debian Bookworm #1203

Closed Faebu93 closed 9 months ago

Faebu93 commented 9 months ago

Describe the bug When installing Snapserver on my up-to-date Raspberry Pi 4 (I installed the latest Raspberry Pi OS Lite, which is a Debian Bookworm port), it fails since the required package libflac8 does not exist in Bookworm. In Bookworm, only libflac12 is provided.

Steps to Reproduce

  1. Install latest Raspberry Pi OS
  2. Download snapserver_0.27.0-1_armhf.deb
  3. Try to install it

Environment details

user@rpi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
user@rpi:~ $ sudo apt update && sudo apt upgrade
Hit:1 https://dtcooper.github.io/raspotify raspotify InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:5 http://deb.debian.org/debian bookworm-updates InRelease
Hit:6 https://apt.mopidy.com bullseye InRelease
Reading package lists... Done    
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
user@rpi:~ $ wget https://github.com/badaix/snapcast/releases/download/v0.27.0/snapserver_0.27.0-1_armhf.deb
--2024-02-12 14:22:21--  https://github.com/badaix/snapcast/releases/download/v0.27.0/snapserver_0.27.0-1_armhf.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/28706706/559f8377-c944-4367-afd3-e64097f14352?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240212T132221Z&X-Amz-Expires=300&X-Amz-Signature=20c391262906b0a2ba4763bfe5a975a100e726760801b8d788f8cccac33251ce&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=28706706&response-content-disposition=attachment%3B%20filename%3Dsnapserver_0.27.0-1_armhf.deb&response-content-type=application%2Foctet-stream [following]
--2024-02-12 14:22:21--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/28706706/559f8377-c944-4367-afd3-e64097f14352?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240212%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240212T132221Z&X-Amz-Expires=300&X-Amz-Signature=20c391262906b0a2ba4763bfe5a975a100e726760801b8d788f8cccac33251ce&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=28706706&response-content-disposition=attachment%3B%20filename%3Dsnapserver_0.27.0-1_armhf.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 983788 (961K) [application/octet-stream]
Saving to: ‘snapserver_0.27.0-1_armhf.deb’

snapserver_0.27.0-1_armhf.deb                         100%[===============>] 960.73K  --.-KB/s    in 0.1s    

2024-02-12 14:22:22 (9.08 MB/s) - ‘snapserver_0.27.0-1_armhf.deb’ saved [983788/983788]

user@rpi:~ $ sudo apt install ~/snapserver_0.27.0-1_armhf.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'snapserver:armhf' instead of '/home/fabian/snapserver_0.27.0-1_armhf.deb'
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:
 snapserver:armhf : Depends: libflac8:armhf (>= 1.3.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Faebu93 commented 9 months ago

Just noticed this is a duplicate of issue #1163 - sorry for that