Package: shairport-sync
Version: 2.8.0-1
Hi,
thank you for packaging shairport-sync! I was just browsing around a bit
wondering if there would be a way to directly stream music from my
iphone to my debian pc, and discovered this package, just added to
debian a few days ago.
After fixing a missing dependency, it just works (tm), shows up as
remote device, I choose it and my music continues to play on this
computer. Very neat.
While trying to install, the following happened:
# apt-get install shairport-sync
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libconfig9 libdaemon0
The following NEW packages will be installed:
libconfig9 libdaemon0 shairport-sync
0 upgraded, 3 newly installed, 0 to remove and 87 not upgraded.
Need to get 0 B/145 kB of archives.
After this operation, 383 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package libdaemon0:amd64.
(Reading database ... 99316 files and directories currently installed.)
Preparing to unpack .../libdaemon0_0.14-6_amd64.deb ...
Unpacking libdaemon0:amd64 (0.14-6) ...
Selecting previously unselected package libconfig9:amd64.
Preparing to unpack .../libconfig9_1.5-0.2_amd64.deb ...
Unpacking libconfig9:amd64 (1.5-0.2) ...
Selecting previously unselected package shairport-sync.
Preparing to unpack .../shairport-sync_2.8.0-1_amd64.deb ...
Unpacking shairport-sync (2.8.0-1) ...
Processing triggers for systemd (228-6) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libdaemon0:amd64 (0.14-6) ...
Setting up libconfig9:amd64 (1.5-0.2) ...
Setting up shairport-sync (2.8.0-1) ...
Failed to start shairport-sync.service: Unit avahi-daemon.service failed
to load: No such file or directory.
invoke-rc.d: initscript shairport-sync, action "start" failed.
dpkg: error processing package shairport-sync (--configure):
subprocess installed post-installation script returned error exit status 6
Processing triggers for libc-bin (2.21-9) ...
Processing triggers for systemd (228-6) ...
Errors were encountered while processing:
shairport-sync
[master 64715cc] committing changes in /etc after apt run
12 files changed, 144 insertions(+)
create mode 100644 default/shairport-sync
create mode 100755 init.d/shairport-sync
create mode 120000 rc0.d/K01shairport-sync
create mode 120000 rc1.d/K01shairport-sync
create mode 120000 rc2.d/S02shairport-sync
create mode 120000 rc3.d/S02shairport-sync
create mode 120000 rc4.d/S02shairport-sync
create mode 120000 rc5.d/S02shairport-sync
create mode 120000 rc6.d/K01shairport-sync
create mode 100644 shairport-sync.conf
create mode 120000
systemd/system/multi-user.target.wants/shairport-sync.service
E: Sub-process /usr/bin/dpkg returned an error code (1)
When installing avahi-daemon:
# apt-get install avahi-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libavahi-core7
Suggested packages:
avahi-autoipd
Recommended packages:
libnss-mdns
The following NEW packages will be installed:
avahi-daemon libavahi-core7
0 upgraded, 2 newly installed, 0 to remove and 87 not upgraded.
1 not fully installed or removed.
Need to get 201 kB of archives.
After this operation, 557 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.nl.debian.org/debian stretch/main amd64 libavahi-core7
amd64 0.6.32~rc+dfsg-1 [113 kB]
Get:2 http://ftp.nl.debian.org/debian stretch/main amd64 avahi-daemon
amd64 0.6.32~rc+dfsg-1 [88.4 kB]
Fetched 201 kB in 0s (1,060 kB/s)
Selecting previously unselected package libavahi-core7:amd64.
(Reading database ... 99345 files and directories currently installed.)
Preparing to unpack .../libavahi-core7_0.6.32~rc+dfsg-1_amd64.deb ...
Unpacking libavahi-core7:amd64 (0.6.32~rc+dfsg-1) ...
Selecting previously unselected package avahi-daemon.
Preparing to unpack .../avahi-daemon_0.6.32~rc+dfsg-1_amd64.deb ...
Unpacking avahi-daemon (0.6.32~rc+dfsg-1) ...
Processing triggers for libc-bin (2.21-9) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for dbus (1.10.6-1) ...
Processing triggers for systemd (228-6) ...
Setting up shairport-sync (2.8.0-1) ...
A dependency job for shairport-sync.service failed. See 'journalctl -xe'
for details.
invoke-rc.d: initscript shairport-sync, action "start" failed.
dpkg: error processing package shairport-sync (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libavahi-core7:amd64 (0.6.32~rc+dfsg-1) ...
Setting up avahi-daemon (0.6.32~rc+dfsg-1) ...
Processing triggers for libc-bin (2.21-9) ...
Processing triggers for dbus (1.10.6-1) ...
Processing triggers for systemd (228-6) ...
Errors were encountered while processing:
shairport-sync
[master 6e29b66] committing changes in /etc after apt run
51 files changed, 292 insertions(+), 2 deletions(-)
create mode 100644 avahi/avahi-daemon.conf
create mode 100644 avahi/hosts
create mode 100644 dbus-1/system.d/avahi-dbus.conf
create mode 100644 default/avahi-daemon
create mode 100755 init.d/avahi-daemon
create mode 120000 network/if-post-down.d/avahi-daemon
create mode 100755 network/if-up.d/avahi-daemon
create mode 120000 rc0.d/K01avahi-daemon
create mode 120000 rc1.d/K01avahi-daemon
create mode 120000 rc2.d/S03avahi-daemon
rename rc5.d/S03libvirtd => rc2.d/S04libvirtd (100%)
rename rc5.d/S02shairport-sync => rc2.d/S04shairport-sync (100%)
rename rc5.d/S04libvirt-guests => rc2.d/S05libvirt-guests (100%)
rename rc5.d/S05rc.local => rc2.d/S06rc.local (100%)
rename rc5.d/S05rmnologin => rc2.d/S06rmnologin (100%)
create mode 120000 rc3.d/S03avahi-daemon
rename rc4.d/S03libvirtd => rc3.d/S04libvirtd (100%)
rename rc4.d/S02shairport-sync => rc3.d/S04shairport-sync (100%)
rename rc4.d/S04libvirt-guests => rc3.d/S05libvirt-guests (100%)
rename rc4.d/S05rc.local => rc3.d/S06rc.local (100%)
rename rc4.d/S05rmnologin => rc3.d/S06rmnologin (100%)
create mode 120000 rc4.d/S03avahi-daemon
rename rc3.d/S03libvirtd => rc4.d/S04libvirtd (100%)
rename rc3.d/S02shairport-sync => rc4.d/S04shairport-sync (100%)
rename rc3.d/S04libvirt-guests => rc4.d/S05libvirt-guests (100%)
rename rc3.d/S05rc.local => rc4.d/S06rc.local (100%)
rename rc3.d/S05rmnologin => rc4.d/S06rmnologin (100%)
create mode 120000 rc5.d/S03avahi-daemon
rename rc2.d/S03libvirtd => rc5.d/S04libvirtd (100%)
rename rc2.d/S02shairport-sync => rc5.d/S04shairport-sync (100%)
rename rc2.d/S04libvirt-guests => rc5.d/S05libvirt-guests (100%)
rename rc2.d/S05rc.local => rc5.d/S06rc.local (100%)
rename rc2.d/S05rmnologin => rc5.d/S06rmnologin (100%)
create mode 120000 rc6.d/K01avahi-daemon
create mode 100755 resolvconf/update-libc.d/avahi-daemon
create mode 120000 systemd/system/dbus-org.freedesktop.Avahi.service
create mode 120000
systemd/system/multi-user.target.wants/avahi-daemon.service
create mode 120000 systemd/system/sockets.target.wants/avahi-daemon.socket
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up shairport-sync (2.8.0-1) ...
So maybe you missed a dependency while packaging, as I didn't have
avahi-daemon installed yet.
Regards,
Hans van Kranenburg