Can't install shairport-sync via script

Hi, I’m trying to install shairport-sync as detailed here:

https://learn.pimoroni.com/tutorial/sandyj/streaming-airplay-to-your-pi

but it’s not working as it seems to require libssl1.0.2 which isn’t available for jessie.

Is there any way around this?

Many thanks.

Doubt it. Your best bet is starting with a fresh install.

How would that solve the dependency? (I will try it…)

No joy. I also tried installing libssl1.0.2 via backports and that killed everything…

we are not pulling those dependencies from Jessie, but Raspbian testing i.e upcoming Stretch.

Unfortunately that means that whenever the source changes (or repackaging of) we have to update the script… I have now updated it, please try again!

1 Like

No luck yet. Is there some cache I have to clear?

(Reading database ... 42537 files and directories currently installed.)
Preparing to unpack .../libssl1.0-dev_1.0.2l-2_armhf.deb ...
Unpacking libssl1.0-dev:armhf (1.0.2l-2) over (1.0.2l-2) ...
dpkg: dependency problems prevent configuration of libssl1.0-dev:armhf:
 libssl1.0-dev:armhf depends on libssl1.0.2 (= 1.0.2l-2); however:
  Package libssl1.0.2 is not installed.

dpkg: error processing package libssl1.0-dev:armhf (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libssl1.0-dev:armhf
(Reading database ... 42537 files and directories currently installed.)
Preparing to unpack .../shairport-sync_2.8.6-1_armhf.deb ...
Unpacking shairport-sync (2.8.6-1) over (2.8.6-1) ...
rmdir: failed to remove ‘/var/lib/shairport-sync’: No such file or directory
dpkg: dependency problems prevent configuration of shairport-sync:
 shairport-sync depends on libssl1.0.2 (>= 1.0.2d); however:
  Package libssl1.0.2 is not installed.

dpkg: error processing package shairport-sync (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 shairport-sync

doh, I grabbed the dev package by mistake, which unsurprisingly depends on the runtime package. Try again!

That’s worked now. I’ve also got mopidy installed. Do they interact in any negative ways (assuming I’m not playing them both at the same time). Are the buttons on the pirate radio supposed to do anything with shairport?

Thanks again!

with airplay, you control the music from your phone, so no, buttons have no function in that scenario.

I believe I had both shairport-sync and spotipy (mopidy) installed and working at one point. YMVV.

That’s what I thought. Thanks again!

Does 3.0 (3.0.2) not work on Raspbian Jessie? They explicitly mention PhatDAC in the release notes. I’ve had a little occasional ‘gurgling’ when playing audio, I wonder if the update would make any difference.

Thanks again

Two quick questions…

Will everything break if I upgrade to stretch?

Has anyone had any luck with shairport-sync 3.0? I still get occasional stuttering with 2.8.6.

Cheers

Hi, @RogueM if I wanted to compile the latest shairport-sync per the instructions here: https://github.com/mikebrady/shairport-sync, what would the appropriate ‘–with-* options’?